 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-16 23:59:42.514755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14082025
  port_id : 25975826
  datou_current_id : 3531594
in upload_from_sqlite, uploading in 25975826
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/14082025/16/00/image_14082025_16_00_49_10448.jpg', '/media/data/images/14082025/16/00/image_14082025_16_00_58_9125.jpg', '/media/data/images/14082025/16/00/image_14082025_16_01_09_10610.jpg', '/media/data/images/14082025/16/01/image_14082025_16_01_19_10395.jpg', '/media/data/images/14082025/16/01/image_14082025_16_01_28_9064.jpg', '/media/data/images/14082025/16/01/image_14082025_16_01_38_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0
/media/data/images/14082025/16/00/image_14082025_16_00_49_10448.jpg
/media/data/images/14082025/16/00/image_14082025_16_00_58_9125.jpg
/media/data/images/14082025/16/00/image_14082025_16_01_09_10610.jpg
/media/data/images/14082025/16/01/image_14082025_16_01_19_10395.jpg
/media/data/images/14082025/16/01/image_14082025_16_01_28_9064.jpg
/media/data/images/14082025/16/01/image_14082025_16_01_38_10290.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 130.3331482410431 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d6d06a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:02:02.318657
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86386668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86386668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86386668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:04:21.995908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e359668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e359668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e359668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:06:42.203653
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a2a3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a2a3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a2a3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:09:03.156128
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c2355f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2355f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2355f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:11:22.758122
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7d8f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7d8f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7d8f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:13:41.938245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84632668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84632668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84632668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:16:02.694523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8122d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8122d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8122d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:18:22.449845
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c37e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c37e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c37e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:20:42.588806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f848f5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f848f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f848f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:23:02.521743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad605668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad605668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad605668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:25:22.151432
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ab985f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ab985f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ab985f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:27:42.358698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99872668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99872668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99872668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:30:03.146395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f9225f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f9225f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f9225f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:32:21.952275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cf1c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cf1c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cf1c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:34:42.205852
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78299668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78299668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78299668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:37:03.148505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faed57668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faed57668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faed57668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:39:22.816787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f942a8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f942a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f942a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:41:41.985180
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac378668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac378668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac378668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:44:02.881146
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa208e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa208e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa208e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:46:22.513149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7de62668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7de62668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7de62668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:48:41.761006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f938c55f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f938c55f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f938c55f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:51:02.577230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76c9d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76c9d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76c9d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:53:22.330106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5555668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5555668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5555668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:55:42.569924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c698668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c698668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c698668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 00:59:02.579021
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb51cd668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb51cd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb51cd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:01:22.164273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96e1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96e1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96e1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:03:42.357914
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f783d4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f783d4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f783d4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:06:03.051822
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f815fe668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f815fe668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f815fe668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:08:21.876513
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93d31668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d31668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d31668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:10:42.093853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d5a2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d5a2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d5a2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:13:02.947043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2f34668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2f34668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2f34668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:15:22.646229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86fbb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86fbb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86fbb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:17:41.898001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7cb83668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cb83668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cb83668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:20:02.817679
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ebc9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ebc9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ebc9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:22:22.485087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faae21668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae21668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae21668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:24:42.669425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e406668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e406668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e406668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:27:02.752251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d343668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d343668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d343668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:29:22.187099
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9be77668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be77668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9be77668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:31:42.391178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78219668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78219668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78219668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:34:03.318012
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1ab4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1ab4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1ab4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:36:22.010064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f774d3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774d3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774d3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:38:42.220233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f774f7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774f7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774f7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:41:03.273438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78f4a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f4a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f4a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:43:22.785196
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f934d0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f934d0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f934d0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:45:42.015941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4c24668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c24668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c24668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:48:02.872953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84adb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84adb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84adb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:50:22.586999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86e02668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86e02668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86e02668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:52:41.771263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa411b630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa411b630>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa411b630>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:55:02.727541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faec50668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec50668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec50668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:57:22.327022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb24c6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb24c6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb24c6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 01:59:42.317106
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92967668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92967668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92967668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:02:03.078387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb503b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb503b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb503b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:04:21.840988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb28fb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb28fb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb28fb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:06:42.064238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab32e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab32e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab32e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:09:03.072721
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93d0c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d0c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d0c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:11:22.580149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f788a6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f788a6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f788a6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:13:42.775509
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb23d5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb23d5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb23d5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:16:02.640955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80058668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80058668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80058668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:18:22.300503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2417668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2417668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2417668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:20:42.506865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c53a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c53a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c53a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:23:02.449913
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4dff668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4dff668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4dff668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:25:21.983437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e5ca668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e5ca668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e5ca668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:27:42.236000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88532668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88532668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88532668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:30:03.133670
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad8cc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad8cc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad8cc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:32:21.770525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b33b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b33b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b33b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:34:42.012275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85cac668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85cac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85cac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:37:03.042458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f942dd668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f942dd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f942dd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:39:22.611172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa800e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa800e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa800e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:41:41.891813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae201668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae201668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae201668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:44:02.876232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb35cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb35cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb35cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:46:22.587529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f397668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f397668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f397668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:48:41.770230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b532668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b532668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b532668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:51:02.900969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87092668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87092668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87092668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:53:22.363512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1965668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1965668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1965668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:55:42.558168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa283a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa283a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa283a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 02:59:02.666304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99ec4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99ec4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99ec4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:01:22.106486
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e68a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e68a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e68a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:03:42.345042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3246668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3246668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3246668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:06:03.102694
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb10f0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10f0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10f0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:08:21.916984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78d02668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78d02668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78d02668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:10:42.118041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e32a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e32a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e32a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:13:03.152175
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7cc94668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cc94668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cc94668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:15:22.675304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faddfc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faddfc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faddfc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:17:41.953127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80eb2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80eb2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80eb2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:20:02.726636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76f8f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76f8f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76f8f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:22:22.460394
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f935db668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f935db668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f935db668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:24:42.729054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2e30668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2e30668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2e30668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:27:02.755477
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9202c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9202c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9202c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:29:22.308859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f6605f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f6605f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f6605f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:31:42.566589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa8e6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa8e6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa8e6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:34:02.557636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96838668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96838668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96838668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:36:22.086141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab6a8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab6a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab6a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:38:42.291114
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d7b3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7b3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7b3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:41:03.422935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f774215f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774215f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f774215f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:43:21.900489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7facb9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facb9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facb9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:45:42.117435
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98ba75f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98ba75f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98ba75f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:48:02.905229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bf30668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bf30668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bf30668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:50:22.710156
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8774a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8774a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8774a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:52:41.896237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9397e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9397e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9397e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:55:02.964244
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a449668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a449668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a449668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:57:22.501880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0bfb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0bfb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0bfb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 03:59:42.580553
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa96a1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa96a1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa96a1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:02:02.437543
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c1ae668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c1ae668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c1ae668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:04:22.137140
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1732668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1732668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1732668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:06:42.363574
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c492668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c492668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c492668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:09:03.328004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb008c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb008c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb008c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:11:21.932216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ffc5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ffc5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ffc5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:13:42.216723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8571f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8571f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8571f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:16:03.039071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f841b0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f841b0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f841b0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:18:22.748306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9dc21668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc21668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc21668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:20:42.014745
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78949668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78949668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78949668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:23:02.960681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa00e2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa00e2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa00e2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:25:22.627847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79581668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79581668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79581668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:27:41.850514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7c1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7c1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7c1c5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:30:02.526388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7698668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7698668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7698668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:32:22.385250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa86d1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa86d1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa86d1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:34:42.580885
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb42a4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb42a4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb42a4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:37:02.312628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88e19668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88e19668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88e19668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:39:22.145291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d179668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d179668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d179668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:41:42.324898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79b88668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79b88668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79b88668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:44:03.302294
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79e08668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79e08668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79e08668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:46:21.882162
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac618668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac618668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac618668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:48:42.173352
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f5b4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5b4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5b4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:51:02.954749
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d3fc5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d3fc5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d3fc5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:53:22.715358
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f875c2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875c2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875c2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:55:41.996585
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8967a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8967a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8967a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 04:59:02.975704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab7b7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab7b7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab7b7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:01:22.466784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac884668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac884668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac884668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:03:42.711710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92e2d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e2d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e2d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:06:02.576857
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82693668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82693668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82693668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:08:22.311525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93f57668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93f57668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93f57668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:10:42.505939
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb135e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb135e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb135e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:13:02.450369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f982456a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f982456a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f982456a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:15:22.092066
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ea9c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ea9c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ea9c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:17:42.338772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88dd2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88dd2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88dd2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:20:03.189789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77914668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77914668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77914668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:22:21.839160
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9eca9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9eca9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9eca9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:24:42.086961
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86b83668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86b83668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86b83668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:27:02.936872
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:29:22.658444
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa81b7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa81b7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa81b7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:31:41.779480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa095b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa095b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa095b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:34:02.732334
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f801925f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f801925f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f801925f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:36:22.322299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b952668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b952668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b952668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:38:42.555075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bd7c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bd7c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bd7c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:41:02.510591
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f847ab668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f847ab668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f847ab668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:43:22.279151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faada9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faada9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faada9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:45:42.469189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c90b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c90b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c90b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:48:02.120614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97405668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97405668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97405668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:50:21.997659
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d34e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d34e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d34e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:52:42.179521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80a33668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80a33668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80a33668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:55:02.967548
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa44f8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa44f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa44f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:57:22.782655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d764668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d764668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d764668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 05:59:41.960521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac0ce668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac0ce668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac0ce668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:02:03.360195
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ad14668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad14668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad14668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:04:22.486423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e712668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e712668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e712668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:06:42.689329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb27d7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb27d7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb27d7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:09:02.618299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadc3a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadc3a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadc3a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:11:22.222062
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b98d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b98d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b98d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:13:42.418304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5f3b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5f3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5f3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:16:03.269373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4e8e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4e8e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4e8e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:18:21.926296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5ef85f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5ef85f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5ef85f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:20:42.137195
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1e3b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1e3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1e3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:23:02.890052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8919a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8919a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8919a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:25:22.650502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85eee5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85eee5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85eee5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:27:41.857353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faad98668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faad98668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faad98668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:30:02.824378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c83b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c83b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c83b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:32:22.503749
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f841f1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f841f1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f841f1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:34:42.742273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7e6c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e6c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e6c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:37:02.750340
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f792525f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f792525f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f792525f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:39:22.274666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8151e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8151e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8151e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:41:42.564306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb434c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb434c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb434c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:44:02.461682
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0347668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0347668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0347668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:46:22.074070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76e565f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76e565f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76e565f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:48:42.326375
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae6d05f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae6d05f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae6d05f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:51:03.197948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bc4a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc4a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc4a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:53:21.888127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f091668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f091668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f091668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:55:42.089970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1f7d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1f7d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1f7d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 06:59:03.157704
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85db0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85db0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85db0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:01:22.633218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ef26668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ef26668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ef26668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:03:41.843188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5b9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5b9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5b9c6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:06:02.687931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1d94668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d94668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d94668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:08:22.365901
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80986668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80986668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80986668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:10:42.587008
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e813668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e813668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e813668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:13:02.518834
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8704f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8704f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8704f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:15:22.131131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f883d1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883d1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883d1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:17:42.364484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f795f5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f795f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f795f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:20:03.106592
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8fc735f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fc735f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fc735f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:22:21.960959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ed42668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ed42668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ed42668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:24:42.134493
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a9e3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a9e3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a9e3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:27:03.098817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e276668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e276668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e276668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:29:22.772772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f985985f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f985985f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f985985f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:31:41.885879
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb027f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb027f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb027f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:34:02.827577
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac175668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac175668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac175668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:36:22.374590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e152668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e152668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e152668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:38:42.561182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f34e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f34e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f34e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:41:02.659263
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cec1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cec1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cec1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:43:22.167864
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb61f6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb61f6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb61f6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:45:42.563205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76afd668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76afd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76afd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:48:03.105005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ac7c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ac7c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ac7c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:50:21.899464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb55165f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb55165f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb55165f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:52:42.207665
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a8f7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a8f7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a8f7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:55:03.115772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9fd0e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fd0e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fd0e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:57:22.865301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f983b95f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f983b95f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f983b95f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 07:59:42.623429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80499668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80499668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80499668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:02:02.487778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa593a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa593a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa593a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:04:22.228972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d01d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d01d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d01d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:06:42.331016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa4c9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa4c9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa4c9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:09:03.341059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f024668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f024668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f024668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:11:21.858439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95056668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95056668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95056668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:13:42.048603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faacd7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faacd7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faacd7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:16:02.839124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ab06668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ab06668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ab06668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:18:22.623383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f1cd5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f1cd5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f1cd5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:20:41.791260
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99dc9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99dc9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99dc9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:23:02.796802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b184668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b184668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b184668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:25:22.397435
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a67d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a67d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a67d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:27:42.517572
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b72e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b72e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b72e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:30:02.258075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ae9a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ae9a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ae9a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:32:22.052388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80e735f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e735f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e735f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:34:42.318424
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4bdb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4bdb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4bdb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:37:03.310289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac036668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac036668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac036668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:39:21.827980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3c80668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3c80668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3c80668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:41:41.993388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb35be668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb35be668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb35be668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:44:02.904913
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8cbd3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cbd3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cbd3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:46:22.496412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f938ac668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f938ac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f938ac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:48:42.701500
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94c095f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94c095f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94c095f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:51:02.640671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9369b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9369b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9369b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:53:22.428443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f790e9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f790e9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f790e9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:55:42.460559
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80ce7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80ce7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80ce7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 08:59:03.276020
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa598668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa598668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa598668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:01:21.862640
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3210668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3210668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3210668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:03:42.051801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab6355f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab6355f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab6355f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:06:02.817447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f245668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f245668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f245668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:08:22.550981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88112668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88112668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88112668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:10:41.750762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a68f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a68f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a68f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:13:02.774942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8529b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8529b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8529b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:15:22.482562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ea3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:17:42.707984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93bf6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bf6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bf6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:20:02.452164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f883e9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883e9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883e9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:22:22.262202
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83c945f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83c945f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83c945f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:24:42.478554
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1f135f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1f135f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1f135f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:27:02.313289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93507668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93507668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93507668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:29:22.057628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d36e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d36e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d36e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:31:42.246402
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb15ee630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb15ee630>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb15ee630>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:34:03.218159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa12336a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa12336a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa12336a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:36:21.913376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa535e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa535e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa535e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:38:41.950796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0811668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0811668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0811668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:41:03.090800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3d3b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3d3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3d3b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:43:22.604163
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95c20668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95c20668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95c20668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:45:42.807254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91bee668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91bee668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91bee668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:48:02.669201
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb580c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb580c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb580c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:50:22.347245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fababb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fababb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fababb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:52:42.758082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f803db6a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f803db6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f803db6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:55:02.552019
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86aa3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86aa3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86aa3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:57:22.214722
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b3d6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b3d6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b3d6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 09:59:42.238246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0450668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0450668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0450668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:02:02.978456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa266f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa266f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa266f5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:04:21.781041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa068a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa068a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa068a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:06:41.991394
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9241b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9241b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9241b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:09:03.154698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97762668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97762668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97762668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:11:22.639376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa19ad668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa19ad668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa19ad668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:13:41.912430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c62e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c62e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c62e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:16:02.688451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4b2f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4b2f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4b2f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:18:22.497827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f1f45f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f1f45f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f1f45f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:20:42.680344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f866f8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f866f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f866f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:23:02.492457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84937668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84937668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84937668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:25:22.406689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f951f3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f951f3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f951f3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:27:42.379776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6cd2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6cd2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6cd2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:30:03.233799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6bf3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6bf3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6bf3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:32:21.915966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f939f8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f939f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f939f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:34:42.119687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93aa8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93aa8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93aa8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:37:03.110181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7908d5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7908d5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7908d5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:39:22.648023
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb59e0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb59e0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb59e0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:41:41.965128
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8709d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8709d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8709d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:44:02.807532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7748b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7748b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7748b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:46:22.587489
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90ab0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ab0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ab0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:48:41.795607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dd43668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd43668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd43668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:51:02.558125
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f906c05f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f906c05f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f906c05f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:53:22.378286
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dd61668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd61668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dd61668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:55:42.610519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faacdd668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faacdd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faacdd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 10:59:02.732690
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa133668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa133668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa133668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:01:22.227027
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa92e36a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa92e36a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa92e36a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:03:42.398400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ec93668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ec93668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ec93668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:06:03.203316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1051668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1051668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1051668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:08:21.983424
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f861c95f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f861c95f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f861c95f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:10:42.255700
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3283668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3283668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3283668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:13:03.304957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa09ef668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa09ef668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa09ef668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:15:21.869836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76ddf668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76ddf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76ddf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:17:42.148073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b552668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b552668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b552668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:20:03.047172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadf42668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadf42668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadf42668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:22:22.004461
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77be6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77be6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77be6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:24:42.237787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f833b9668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833b9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833b9668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:27:03.061934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83d135f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83d135f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83d135f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:29:22.832996
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8df8b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8df8b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8df8b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:31:41.930041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bc14630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc14630>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bc14630>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:34:02.747251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93cf7668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93cf7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93cf7668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:36:22.524669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97013668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97013668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97013668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:38:42.775281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f856e4668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f856e4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f856e4668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:41:02.640370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81027668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81027668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81027668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:43:22.164969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa08eb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa08eb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa08eb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:45:42.384915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3b19668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3b19668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3b19668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:48:03.269481
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9107d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9107d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9107d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:50:21.945281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7face7d668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7face7d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7face7d668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:52:42.148702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f37f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f37f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f37f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:55:03.080030
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae5d3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae5d3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae5d3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:57:21.777477
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb14a8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb14a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb14a8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 11:59:41.780299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f935668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f935668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f935668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:02:02.697469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f7dd668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f7dd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f7dd668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:04:22.331962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9545a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9545a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9545a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:06:42.611992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faae00668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae00668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae00668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:09:02.495990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85f9b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f9b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f9b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:11:22.097560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a1bc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a1bc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a1bc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:13:42.326722
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90468668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90468668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90468668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:16:02.991614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f920b0668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f920b0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f920b0668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:18:21.872083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e25a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e25a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e25a5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:20:42.072053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa523a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa523a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa523a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:23:03.071113
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79803668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79803668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79803668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:25:22.692358
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9603e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9603e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9603e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:27:41.939277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87032668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87032668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87032668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:30:02.679658
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e04c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e04c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e04c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:32:22.597388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fabf2a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabf2a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabf2a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:34:42.698756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97983668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97983668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97983668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:37:02.744643
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79e15668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79e15668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79e15668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:39:22.220732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9960b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9960b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9960b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:41:42.028488
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2ae45f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2ae45f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2ae45f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:44:02.888730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9140a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9140a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9140a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:46:22.573659
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88510668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88510668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88510668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:48:41.766947
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb59d8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb59d8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb59d8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:51:02.809688
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8aa535f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8aa535f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8aa535f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:53:22.298337
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0d84668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0d84668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0d84668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:55:42.576170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4dbf668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4dbf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4dbf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 12:59:02.551690
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f856dc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f856dc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f856dc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:01:22.208043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb10e3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10e3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10e3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:03:42.484327
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e149668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e149668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e149668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:06:02.135692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e6ae5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e6ae5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e6ae5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:08:22.072042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa773e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa773e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa773e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:10:42.270894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad9ec668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad9ec668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad9ec668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:13:03.145803
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77601668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77601668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77601668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:15:21.937576
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6217668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6217668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6217668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:17:42.093984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa24505f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa24505f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa24505f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:20:02.925435
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa562c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa562c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa562c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:22:22.610194
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa04cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa04cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa04cb5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:24:41.796839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad44f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad44f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad44f6a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:27:02.791826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77f09668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77f09668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77f09668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:29:22.408213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f967515f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f967515f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f967515f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:31:42.565257
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f955cc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f955cc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f955cc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:34:02.520089
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c7f5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c7f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c7f5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:36:22.181130
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e293668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e293668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e293668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:38:42.336579
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7bb1b668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bb1b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bb1b668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:41:03.365970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f5ac668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f5ac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f5ac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:43:21.893196
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8acc15f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acc15f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acc15f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:45:42.066622
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b508668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b508668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b508668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:48:02.831308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f961f8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f961f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f961f8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:50:22.627104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f985e8668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f985e8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f985e8668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:52:41.859100
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9899e668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9899e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9899e668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:55:02.888117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8fac668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8fac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8fac668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:57:22.474829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7bdb3668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bdb3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bdb3668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 13:59:42.421300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faca33668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faca33668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faca33668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:02:03.218748
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93cdb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93cdb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93cdb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:04:22.029346
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96a525f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96a525f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96a525f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:06:42.140803
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ae5f668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ae5f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ae5f668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:09:03.228437
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1641668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1641668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1641668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:11:21.809901
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bdc6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bdc6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bdc6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:13:42.110360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ebcc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ebcc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ebcc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:16:02.851306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d7dc668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7dc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7dc668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:18:22.567463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f9e5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f9e5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f9e5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:20:41.774148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89a815f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a815f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a815f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:23:02.722688
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92989668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92989668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92989668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:25:22.301820
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88114668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88114668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88114668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:27:42.535443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77904668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77904668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77904668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:30:02.281988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1611668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1611668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1611668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:32:22.106338
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9dc8c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc8c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc8c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:34:42.279424
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ff4e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ff4e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ff4e5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:37:03.299501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9fb8c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fb8c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fb8c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:39:21.806773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d186668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d186668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d186668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:41:42.050619
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa1295f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1295f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1295f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:44:02.845923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0493668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0493668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0493668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:46:22.576749
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d2306a0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d2306a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d2306a0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:48:41.868625
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0f5b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0f5b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0f5b5f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:51:02.818981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa23eb668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa23eb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa23eb668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:53:22.365876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98b7a668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98b7a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98b7a668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:55:42.593259
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93eaf668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93eaf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93eaf668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 14:59:02.788035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1f05668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1f05668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1f05668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:01:22.191165
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b765668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b765668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b765668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:03:42.557686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5986668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5986668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5986668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:06:02.266375
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1d86668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d86668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d86668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:08:22.068928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faba4c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba4c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faba4c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:10:42.247995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78736668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78736668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78736668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:13:03.354991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1980668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1980668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1980668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:15:21.902806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f6de668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f6de668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f6de668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:17:42.127071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f842f1668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f842f1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f842f1668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:20:02.991294
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa77225f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa77225f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa77225f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:22:22.666388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f867c6668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f867c6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f867c6668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:24:41.889975
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85a6c668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85a6c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85a6c668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:27:02.765335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8ce5668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8ce5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8ce5668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:29:22.445195
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d0f2668>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d0f2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d0f2668>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:31:42.638231
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c8725f8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c8725f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c8725f8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:34:02.539217
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
 val : 1 : upload photos already in processing! 
error with portfolio, creating one with hour/min
Maybe name is duplicate : angers_montee_convoyeur_1021_17082025
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
couldn't create portfolio, exiting...
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
 Status : 500
 Content : 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>8aef043li</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
 All Response : <Response [500]>
 Status : 500
 Content : 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>8aef05ma6</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
 All Response : <Response [500]>
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:35:22.108874
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : angers_montee_convoyeur_1021_17082025
 fc.token : f163e3f6030719b36ae4ea6514879e05
True
4892
3551267
4892
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
{'portfolio_id': 26044660, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1755437782000}
in upload media
 Upload medias :  ['/media/data/images/16082025/23/59/image_17082025_00_00_08_10450.jpg', '/media/data/images/16082025/23/59/image_17082025_00_00_18_10291.jpg', '/media/data/images/16082025/23/59/image_17082025_00_00_29_10298.jpg', '/media/data/images/16082025/23/59/image_17082025_00_00_38_9096.jpg', '/media/data/images/16082025/23/59/image_17082025_00_00_48_10345.jpg', '/media/data/images/16082025/23/59/image_17082025_00_00_58_9987.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/16082025/23/59/image_17082025_00_00_08_10450.jpg
/media/data/images/16082025/23/59/image_17082025_00_00_18_10291.jpg
/media/data/images/16082025/23/59/image_17082025_00_00_29_10298.jpg
/media/data/images/16082025/23/59/image_17082025_00_00_38_9096.jpg
/media/data/images/16082025/23/59/image_17082025_00_00_48_10345.jpg
/media/data/images/16082025/23/59/image_17082025_00_00_58_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669740","1377669736","1377669747","1377669750","1377669738","1377669743"],"photo_ids_order":["1377669736","1377669738","1377669740","1377669743","1377669747","1377669750"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/467197e252adb1fb78a9c13fad4a424a.jpg","text":"TemporaryFile(/tmp/multipartBody4429237136975316382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_29_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d933f9194c61301a9d59db75cc2340e0.jpg","text":"TemporaryFile(/tmp/multipartBody4025701991667426696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_08_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68bfc818df46659d61b407e4ecb7172e.jpg","text":"TemporaryFile(/tmp/multipartBody6052810652869764788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_48_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c98ba81028a8a2e814b832786eea35d3.jpg","text":"TemporaryFile(/tmp/multipartBody8867703159895537701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_58_9987.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2fe21ef16c6a96829d1149f55e7bba6.jpg","text":"TemporaryFile(/tmp/multipartBody3252441818073955571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_18_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1aa9ddb3da77114574789065967f4b11.jpg","text":"TemporaryFile(/tmp/multipartBody4263173565611324364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437786134,"filename":"image_17082025_00_00_38_9096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669740","file1":"1377669738","file0":"1377669736","file4":"1377669747","file5":"1377669750","file3":"1377669743"},"map_files_photo_id_array":[{"photo_id":"1377669750","filename":"file5"},{"photo_id":"1377669740","filename":"file2"},{"photo_id":"1377669747","filename":"file4"},{"photo_id":"1377669738","filename":"file1"},{"photo_id":"1377669736","filename":"file0"},{"photo_id":"1377669743","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669740":["hashtag1","hashtag2"]},{"1377669736":["hashtag1","hashtag2"]},{"1377669747":["hashtag1","hashtag2"]},{"1377669750":["hashtag1","hashtag2"]},{"1377669738":["hashtag1","hashtag2"]},{"1377669743":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669740, 1377669736, 1377669747, 1377669750, 1377669738, 1377669743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.47956204414368 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:36:22.208707
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/00/image_17082025_00_01_08_10248.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_28_9046.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_38_10183.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_48_10174.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_59_10589.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_09_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/00/image_17082025_00_01_08_10248.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_28_9046.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_38_10183.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_48_10174.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_59_10589.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_09_9982.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5497066974639893 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:36:42.222566
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/00/image_17082025_00_01_08_10248.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_28_9046.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_38_10183.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_48_10174.jpg', '/media/data/images/17082025/00/01/image_17082025_00_01_59_10589.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_09_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/00/image_17082025_00_01_08_10248.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_28_9046.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_38_10183.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_48_10174.jpg
/media/data/images/17082025/00/01/image_17082025_00_01_59_10589.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_09_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669781","1377669783","1377669777","1377669780","1377669779","1377669773"],"photo_ids_order":["1377669773","1377669777","1377669779","1377669780","1377669781","1377669783"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5732eedbc94a44ce02188f9879c39554.jpg","text":"TemporaryFile(/tmp/multipartBody8719459130565009121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_01_59_10589.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45e5e0bf8d888605ade2fca70693aa92.jpg","text":"TemporaryFile(/tmp/multipartBody7172227474365261469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_02_09_9982.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b67850e78a594b09493796af2b0a548.jpg","text":"TemporaryFile(/tmp/multipartBody1072173297653245474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_01_28_9046.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09c2b57e913899e013809dca24f1f72e.jpg","text":"TemporaryFile(/tmp/multipartBody7063016707107648577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_01_48_10174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09adaa337f223e81b28005ab9cfe8ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6553164575591677274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_01_38_10183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60dd92fd4b570e5543ad1990099f336d.jpg","text":"TemporaryFile(/tmp/multipartBody428565585642460515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437863132,"filename":"image_17082025_00_01_08_10248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669779","file1":"1377669777","file0":"1377669773","file4":"1377669781","file5":"1377669783","file3":"1377669780"},"map_files_photo_id_array":[{"photo_id":"1377669783","filename":"file5"},{"photo_id":"1377669779","filename":"file2"},{"photo_id":"1377669781","filename":"file4"},{"photo_id":"1377669777","filename":"file1"},{"photo_id":"1377669773","filename":"file0"},{"photo_id":"1377669780","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669781":["hashtag1","hashtag2"]},{"1377669783":["hashtag1","hashtag2"]},{"1377669777":["hashtag1","hashtag2"]},{"1377669780":["hashtag1","hashtag2"]},{"1377669779":["hashtag1","hashtag2"]},{"1377669773":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669781, 1377669783, 1377669777, 1377669780, 1377669779, 1377669773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7517786026001 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:37:42.339303
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/02/image_17082025_00_02_18_9031.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_28_10182.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_38_10264.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_48_10352.jpg', '/media/data/images/17082025/00/02/image_17082025_00_02_59_10175.jpg', '/media/data/images/17082025/00/03/image_17082025_00_03_08_9019.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/02/image_17082025_00_02_18_9031.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_28_10182.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_38_10264.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_48_10352.jpg
/media/data/images/17082025/00/02/image_17082025_00_02_59_10175.jpg
/media/data/images/17082025/00/03/image_17082025_00_03_08_9019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669812","1377669806","1377669799","1377669808","1377669801","1377669804"],"photo_ids_order":["1377669799","1377669801","1377669804","1377669806","1377669808","1377669812"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b10530d0229f56b490217f626a05e143.jpg","text":"TemporaryFile(/tmp/multipartBody2037153336654651492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_03_08_9019.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/926d899ce8a29a2d1f56458eeff0192c.jpg","text":"TemporaryFile(/tmp/multipartBody7835222367802839327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_02_48_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d8a096e84b9930c5567fd305111d06f.jpg","text":"TemporaryFile(/tmp/multipartBody6108355537098426897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_02_18_9031.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e010ddfe5b9126fdcc5732f655243fef.jpg","text":"TemporaryFile(/tmp/multipartBody1524383671435529779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_02_59_10175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8796983e1117733ab2bcab20a3383f00.jpg","text":"TemporaryFile(/tmp/multipartBody6015339443717292826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_02_28_10182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca4ee755ba727823ddd40ff6c92a2025.jpg","text":"TemporaryFile(/tmp/multipartBody2815179117466935298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437923342,"filename":"image_17082025_00_02_38_10264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669804","file1":"1377669801","file0":"1377669799","file4":"1377669808","file5":"1377669812","file3":"1377669806"},"map_files_photo_id_array":[{"photo_id":"1377669812","filename":"file5"},{"photo_id":"1377669804","filename":"file2"},{"photo_id":"1377669808","filename":"file4"},{"photo_id":"1377669801","filename":"file1"},{"photo_id":"1377669799","filename":"file0"},{"photo_id":"1377669806","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669812":["hashtag1","hashtag2"]},{"1377669806":["hashtag1","hashtag2"]},{"1377669799":["hashtag1","hashtag2"]},{"1377669808":["hashtag1","hashtag2"]},{"1377669801":["hashtag1","hashtag2"]},{"1377669804":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669812, 1377669806, 1377669799, 1377669808, 1377669801, 1377669804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45930767059326 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:38:22.486081
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/03/image_17082025_00_03_18_10393.jpg', '/media/data/images/17082025/00/03/image_17082025_00_03_28_10215.jpg', '/media/data/images/17082025/00/03/image_17082025_00_03_49_10223.jpg', '/media/data/images/17082025/00/03/image_17082025_00_03_58_8992.jpg', '/media/data/images/17082025/00/04/image_17082025_00_04_39_10203.jpg', '/media/data/images/17082025/00/04/image_17082025_00_04_58_10209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/03/image_17082025_00_03_18_10393.jpg
/media/data/images/17082025/00/03/image_17082025_00_03_28_10215.jpg
/media/data/images/17082025/00/03/image_17082025_00_03_49_10223.jpg
/media/data/images/17082025/00/03/image_17082025_00_03_58_8992.jpg
/media/data/images/17082025/00/04/image_17082025_00_04_39_10203.jpg
/media/data/images/17082025/00/04/image_17082025_00_04_58_10209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669833","1377669835","1377669832","1377669826","1377669829","1377669834"],"photo_ids_order":["1377669826","1377669829","1377669832","1377669833","1377669834","1377669835"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b20a69ead279d53c574b86642d14394.jpg","text":"TemporaryFile(/tmp/multipartBody6231212397410316545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_03_58_8992.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c73baebf3df63f5b11821a19bc178a7.jpg","text":"TemporaryFile(/tmp/multipartBody4312223365972315602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_04_58_10209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/411edaaa5397087a9054cd02d6902985.jpg","text":"TemporaryFile(/tmp/multipartBody364125624226188429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_03_49_10223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/825e83b8f3bf607cca22dace6709a01a.jpg","text":"TemporaryFile(/tmp/multipartBody5006222037278598390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_03_18_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8b48bff507851e131ef6ac4235cbfb4.jpg","text":"TemporaryFile(/tmp/multipartBody127824897340223892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_03_28_10215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ebd610ea67567ada9a3d44a85fa09e28.jpg","text":"TemporaryFile(/tmp/multipartBody3656935428170629346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437963476,"filename":"image_17082025_00_04_39_10203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669832","file1":"1377669829","file0":"1377669826","file4":"1377669834","file5":"1377669835","file3":"1377669833"},"map_files_photo_id_array":[{"photo_id":"1377669835","filename":"file5"},{"photo_id":"1377669832","filename":"file2"},{"photo_id":"1377669834","filename":"file4"},{"photo_id":"1377669829","filename":"file1"},{"photo_id":"1377669826","filename":"file0"},{"photo_id":"1377669833","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669833":["hashtag1","hashtag2"]},{"1377669835":["hashtag1","hashtag2"]},{"1377669832":["hashtag1","hashtag2"]},{"1377669826":["hashtag1","hashtag2"]},{"1377669829":["hashtag1","hashtag2"]},{"1377669834":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669833, 1377669835, 1377669832, 1377669826, 1377669829, 1377669834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.491108655929565 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:39:22.549707
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/04/image_17082025_00_05_08_10311.jpg', '/media/data/images/17082025/00/05/image_17082025_00_05_38_8973.jpg', '/media/data/images/17082025/00/05/image_17082025_00_05_48_10236.jpg', '/media/data/images/17082025/00/05/image_17082025_00_05_58_10263.jpg', '/media/data/images/17082025/00/06/image_17082025_00_06_19_10250.jpg', '/media/data/images/17082025/00/06/image_17082025_00_06_28_8963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/04/image_17082025_00_05_08_10311.jpg
/media/data/images/17082025/00/05/image_17082025_00_05_38_8973.jpg
/media/data/images/17082025/00/05/image_17082025_00_05_48_10236.jpg
/media/data/images/17082025/00/05/image_17082025_00_05_58_10263.jpg
/media/data/images/17082025/00/06/image_17082025_00_06_19_10250.jpg
/media/data/images/17082025/00/06/image_17082025_00_06_28_8963.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669854","1377669859","1377669852","1377669861","1377669863","1377669857"],"photo_ids_order":["1377669852","1377669854","1377669857","1377669859","1377669861","1377669863"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/595b9912b8925e0056187c42f0441142.jpg","text":"TemporaryFile(/tmp/multipartBody2807714356959622120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_05_38_8973.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71ec955cc279991fd3c598acc619fb0b.jpg","text":"TemporaryFile(/tmp/multipartBody6697610783051616505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_05_58_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c01d8384110ae86ff1ddcab9ab4d928.jpg","text":"TemporaryFile(/tmp/multipartBody8959459996605765098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_05_08_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3c635a3e0778c1238c61ad1382fb5d0.jpg","text":"TemporaryFile(/tmp/multipartBody8764611701505181212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_06_19_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28d89f63413fb47f7eac991e265a78c9.jpg","text":"TemporaryFile(/tmp/multipartBody7470915428379347000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_06_28_8963.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bee91ba2faf4f25047ff5513c2270839.jpg","text":"TemporaryFile(/tmp/multipartBody1822077862796705243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438023535,"filename":"image_17082025_00_05_48_10236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669857","file1":"1377669854","file0":"1377669852","file4":"1377669861","file5":"1377669863","file3":"1377669859"},"map_files_photo_id_array":[{"photo_id":"1377669863","filename":"file5"},{"photo_id":"1377669857","filename":"file2"},{"photo_id":"1377669861","filename":"file4"},{"photo_id":"1377669854","filename":"file1"},{"photo_id":"1377669852","filename":"file0"},{"photo_id":"1377669859","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669854":["hashtag1","hashtag2"]},{"1377669859":["hashtag1","hashtag2"]},{"1377669852":["hashtag1","hashtag2"]},{"1377669861":["hashtag1","hashtag2"]},{"1377669863":["hashtag1","hashtag2"]},{"1377669857":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669854, 1377669859, 1377669852, 1377669861, 1377669863, 1377669857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2201247215271 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:40:03.120384
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/06/image_17082025_00_06_38_10178.jpg', '/media/data/images/17082025/00/06/image_17082025_00_06_48_10261.jpg', '/media/data/images/17082025/00/07/image_17082025_00_07_08_9967.jpg', '/media/data/images/17082025/00/07/image_17082025_00_07_19_10259.jpg', '/media/data/images/17082025/00/07/image_17082025_00_07_29_10181.jpg', '/media/data/images/17082025/00/07/image_17082025_00_07_38_9039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/06/image_17082025_00_06_38_10178.jpg
/media/data/images/17082025/00/06/image_17082025_00_06_48_10261.jpg
/media/data/images/17082025/00/07/image_17082025_00_07_08_9967.jpg
/media/data/images/17082025/00/07/image_17082025_00_07_19_10259.jpg
/media/data/images/17082025/00/07/image_17082025_00_07_29_10181.jpg
/media/data/images/17082025/00/07/image_17082025_00_07_38_9039.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669874","1377669883","1377669876","1377669879","1377669887","1377669866"],"photo_ids_order":["1377669866","1377669874","1377669876","1377669879","1377669883","1377669887"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c49adac7b82e89bd403317933d737e1.jpg","text":"TemporaryFile(/tmp/multipartBody107149825588789547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_06_48_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16841280bd194370f41a8ecbf6b52d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1462431198675892368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_07_29_10181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f8d04fb303322a084ac5acee4b80cae.jpg","text":"TemporaryFile(/tmp/multipartBody5393727243398245189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_07_08_9967.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f768360cd7366b1785483f1106a91bca.jpg","text":"TemporaryFile(/tmp/multipartBody4700610145258905948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_07_19_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f6a29c1af8f79823237473103132b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2883403124049501775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_07_38_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6f5565506d8ef492746981760d083fa.jpg","text":"TemporaryFile(/tmp/multipartBody8060143697356858202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438064161,"filename":"image_17082025_00_06_38_10178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669876","file1":"1377669874","file0":"1377669866","file4":"1377669883","file5":"1377669887","file3":"1377669879"},"map_files_photo_id_array":[{"photo_id":"1377669887","filename":"file5"},{"photo_id":"1377669876","filename":"file2"},{"photo_id":"1377669883","filename":"file4"},{"photo_id":"1377669874","filename":"file1"},{"photo_id":"1377669866","filename":"file0"},{"photo_id":"1377669879","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669874":["hashtag1","hashtag2"]},{"1377669883":["hashtag1","hashtag2"]},{"1377669876":["hashtag1","hashtag2"]},{"1377669879":["hashtag1","hashtag2"]},{"1377669887":["hashtag1","hashtag2"]},{"1377669866":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669874, 1377669883, 1377669876, 1377669879, 1377669887, 1377669866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3832106590271 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:40:42.632655
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/07/image_17082025_00_07_58_10185.jpg', '/media/data/images/17082025/00/08/image_17082025_00_08_19_10266.jpg', '/media/data/images/17082025/00/08/image_17082025_00_08_28_9009.jpg', '/media/data/images/17082025/00/08/image_17082025_00_08_38_10182.jpg', '/media/data/images/17082025/00/09/image_17082025_00_09_08_10074.jpg', '/media/data/images/17082025/00/09/image_17082025_00_09_18_10176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/07/image_17082025_00_07_58_10185.jpg
/media/data/images/17082025/00/08/image_17082025_00_08_19_10266.jpg
/media/data/images/17082025/00/08/image_17082025_00_08_28_9009.jpg
/media/data/images/17082025/00/08/image_17082025_00_08_38_10182.jpg
/media/data/images/17082025/00/09/image_17082025_00_09_08_10074.jpg
/media/data/images/17082025/00/09/image_17082025_00_09_18_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669898","1377669895","1377669907","1377669897","1377669900","1377669893"],"photo_ids_order":["1377669893","1377669895","1377669897","1377669898","1377669900","1377669907"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6172b6ccc51998de91d039d9b769aeaa.jpg","text":"TemporaryFile(/tmp/multipartBody600712690517137156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_08_38_10182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51c34335c231cf29ef276b698392ac05.jpg","text":"TemporaryFile(/tmp/multipartBody8179374096374549259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_08_19_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/23df6a92ba37c23854cacd50f88597ea.jpg","text":"TemporaryFile(/tmp/multipartBody6710418149707011739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_09_18_10176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88730c4023523be341b6c990d483c990.jpg","text":"TemporaryFile(/tmp/multipartBody111432836671076126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_08_28_9009.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a78cedef7f070f87529f93d4d71ae0d1.jpg","text":"TemporaryFile(/tmp/multipartBody1636161627418548166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_09_08_10074.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1e5c7de3811f193caa79d2f1006a400.jpg","text":"TemporaryFile(/tmp/multipartBody1190830203028771518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438103622,"filename":"image_17082025_00_07_58_10185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669897","file1":"1377669895","file0":"1377669893","file4":"1377669900","file5":"1377669907","file3":"1377669898"},"map_files_photo_id_array":[{"photo_id":"1377669907","filename":"file5"},{"photo_id":"1377669897","filename":"file2"},{"photo_id":"1377669900","filename":"file4"},{"photo_id":"1377669895","filename":"file1"},{"photo_id":"1377669893","filename":"file0"},{"photo_id":"1377669898","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669898":["hashtag1","hashtag2"]},{"1377669895":["hashtag1","hashtag2"]},{"1377669907":["hashtag1","hashtag2"]},{"1377669897":["hashtag1","hashtag2"]},{"1377669900":["hashtag1","hashtag2"]},{"1377669893":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669898, 1377669895, 1377669907, 1377669897, 1377669900, 1377669893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34453058242798 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:41:42.742669
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/09/image_17082025_00_09_29_10314.jpg', '/media/data/images/17082025/00/09/image_17082025_00_09_58_10173.jpg', '/media/data/images/17082025/00/09/image_17082025_00_10_08_10357.jpg', '/media/data/images/17082025/00/10/image_17082025_00_10_28_9010.jpg', '/media/data/images/17082025/00/10/image_17082025_00_10_38_10205.jpg', '/media/data/images/17082025/00/10/image_17082025_00_10_48_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/09/image_17082025_00_09_29_10314.jpg
/media/data/images/17082025/00/09/image_17082025_00_09_58_10173.jpg
/media/data/images/17082025/00/09/image_17082025_00_10_08_10357.jpg
/media/data/images/17082025/00/10/image_17082025_00_10_28_9010.jpg
/media/data/images/17082025/00/10/image_17082025_00_10_38_10205.jpg
/media/data/images/17082025/00/10/image_17082025_00_10_48_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669917","1377669937","1377669925","1377669928","1377669921","1377669923"],"photo_ids_order":["1377669917","1377669921","1377669923","1377669925","1377669928","1377669937"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af0398f6c0493c293071790de2b91e17.jpg","text":"TemporaryFile(/tmp/multipartBody4969648935293380349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_09_29_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8513ef895963c17f26c2c3bcff38464.jpg","text":"TemporaryFile(/tmp/multipartBody9082345488863424449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_10_48_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fccb8c9e9b02b45b399d7bdf3e26b3df.jpg","text":"TemporaryFile(/tmp/multipartBody5406563472306820794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_10_28_9010.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5cd7328a55212636b4b6bf5121085615.jpg","text":"TemporaryFile(/tmp/multipartBody5031406206493332846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_10_38_10205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b253cd5649539ae8596ac4fb2bb675a0.jpg","text":"TemporaryFile(/tmp/multipartBody4322617059608515013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_09_58_10173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f8aecc347e24ce5482f2ba519abb19b.jpg","text":"TemporaryFile(/tmp/multipartBody1057462719368426022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438163779,"filename":"image_17082025_00_10_08_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669923","file1":"1377669921","file0":"1377669917","file4":"1377669928","file5":"1377669937","file3":"1377669925"},"map_files_photo_id_array":[{"photo_id":"1377669937","filename":"file5"},{"photo_id":"1377669923","filename":"file2"},{"photo_id":"1377669928","filename":"file4"},{"photo_id":"1377669921","filename":"file1"},{"photo_id":"1377669917","filename":"file0"},{"photo_id":"1377669925","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669917":["hashtag1","hashtag2"]},{"1377669937":["hashtag1","hashtag2"]},{"1377669925":["hashtag1","hashtag2"]},{"1377669928":["hashtag1","hashtag2"]},{"1377669921":["hashtag1","hashtag2"]},{"1377669923":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669917, 1377669937, 1377669925, 1377669928, 1377669921, 1377669923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.464725494384766 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:42:41.841317
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/10/image_17082025_00_10_58_10198.jpg', '/media/data/images/17082025/00/11/image_17082025_00_11_19_10310.jpg', '/media/data/images/17082025/00/11/image_17082025_00_11_28_9052.jpg', '/media/data/images/17082025/00/11/image_17082025_00_11_48_10200.jpg', '/media/data/images/17082025/00/11/image_17082025_00_11_58_10196.jpg', '/media/data/images/17082025/00/12/image_17082025_00_12_08_10198.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/10/image_17082025_00_10_58_10198.jpg
/media/data/images/17082025/00/11/image_17082025_00_11_19_10310.jpg
/media/data/images/17082025/00/11/image_17082025_00_11_28_9052.jpg
/media/data/images/17082025/00/11/image_17082025_00_11_48_10200.jpg
/media/data/images/17082025/00/11/image_17082025_00_11_58_10196.jpg
/media/data/images/17082025/00/12/image_17082025_00_12_08_10198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669953","1377669947","1377669952","1377669955","1377669949","1377669945"],"photo_ids_order":["1377669945","1377669947","1377669949","1377669952","1377669953","1377669955"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/63e183ddc964341ef5724e6eeccd04c0.jpg","text":"TemporaryFile(/tmp/multipartBody1817399312659466693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_11_58_10196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bdbb58800510d685e46a55e6fec69e5.jpg","text":"TemporaryFile(/tmp/multipartBody5584383957310411306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_11_19_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/70eb008d41df7c3498320a65d83ff930.jpg","text":"TemporaryFile(/tmp/multipartBody5879541889640466944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_11_48_10200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecaedd15950f4c2fdd34ed3852d0065b.jpg","text":"TemporaryFile(/tmp/multipartBody2210004605214042540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_12_08_10198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2dcce7818ecbe06fe06a2820cb1b882.jpg","text":"TemporaryFile(/tmp/multipartBody2467202596910987771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_11_28_9052.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb1258f80b731a0ac012b949c3111db0.jpg","text":"TemporaryFile(/tmp/multipartBody2101753260916605268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438222842,"filename":"image_17082025_00_10_58_10198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669949","file1":"1377669947","file0":"1377669945","file4":"1377669953","file5":"1377669955","file3":"1377669952"},"map_files_photo_id_array":[{"photo_id":"1377669955","filename":"file5"},{"photo_id":"1377669949","filename":"file2"},{"photo_id":"1377669953","filename":"file4"},{"photo_id":"1377669947","filename":"file1"},{"photo_id":"1377669945","filename":"file0"},{"photo_id":"1377669952","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669953":["hashtag1","hashtag2"]},{"1377669947":["hashtag1","hashtag2"]},{"1377669952":["hashtag1","hashtag2"]},{"1377669955":["hashtag1","hashtag2"]},{"1377669949":["hashtag1","hashtag2"]},{"1377669945":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669953, 1377669947, 1377669952, 1377669955, 1377669949, 1377669945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80463242530823 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:43:21.953249
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/12/image_17082025_00_12_19_10247.jpg', '/media/data/images/17082025/00/12/image_17082025_00_12_28_8981.jpg', '/media/data/images/17082025/00/12/image_17082025_00_12_38_10278.jpg', '/media/data/images/17082025/00/12/image_17082025_00_12_48_10285.jpg', '/media/data/images/17082025/00/12/image_17082025_00_12_58_10190.jpg', '/media/data/images/17082025/00/13/image_17082025_00_13_18_8983.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/12/image_17082025_00_12_19_10247.jpg
/media/data/images/17082025/00/12/image_17082025_00_12_28_8981.jpg
/media/data/images/17082025/00/12/image_17082025_00_12_38_10278.jpg
/media/data/images/17082025/00/12/image_17082025_00_12_48_10285.jpg
/media/data/images/17082025/00/12/image_17082025_00_12_58_10190.jpg
/media/data/images/17082025/00/13/image_17082025_00_13_18_8983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669970","1377669973","1377669975","1377669978","1377669966","1377669977"],"photo_ids_order":["1377669966","1377669970","1377669973","1377669975","1377669977","1377669978"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d803552de6ee991404a7519ccbabe42.jpg","text":"TemporaryFile(/tmp/multipartBody5858453931937806728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_12_28_8981.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40e6fe237eb5130d387ad4a62091ed45.jpg","text":"TemporaryFile(/tmp/multipartBody5135863471437784731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_12_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/542f44d7add50a801b700ba42cd18f32.jpg","text":"TemporaryFile(/tmp/multipartBody7598367819286765108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_12_48_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4dadb854fa52af01484674d05d8b77dd.jpg","text":"TemporaryFile(/tmp/multipartBody380082457546979753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_13_18_8983.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10f529a91eae9bac560b19706dfa58fb.jpg","text":"TemporaryFile(/tmp/multipartBody6268571212484983634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_12_19_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e38d05d9902183be517092735461ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5255311277726199293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438262938,"filename":"image_17082025_00_12_58_10190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669973","file1":"1377669970","file0":"1377669966","file4":"1377669977","file5":"1377669978","file3":"1377669975"},"map_files_photo_id_array":[{"photo_id":"1377669978","filename":"file5"},{"photo_id":"1377669973","filename":"file2"},{"photo_id":"1377669977","filename":"file4"},{"photo_id":"1377669970","filename":"file1"},{"photo_id":"1377669966","filename":"file0"},{"photo_id":"1377669975","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377669970":["hashtag1","hashtag2"]},{"1377669973":["hashtag1","hashtag2"]},{"1377669975":["hashtag1","hashtag2"]},{"1377669978":["hashtag1","hashtag2"]},{"1377669966":["hashtag1","hashtag2"]},{"1377669977":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377669970, 1377669973, 1377669975, 1377669978, 1377669966, 1377669977)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.166008949279785 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:44:22.107924
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/13/image_17082025_00_13_38_10206.jpg', '/media/data/images/17082025/00/13/image_17082025_00_13_48_10194.jpg', '/media/data/images/17082025/00/13/image_17082025_00_13_59_10208.jpg', '/media/data/images/17082025/00/14/image_17082025_00_14_09_10251.jpg', '/media/data/images/17082025/00/14/image_17082025_00_14_58_10190.jpg', '/media/data/images/17082025/00/15/image_17082025_00_15_09_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/13/image_17082025_00_13_38_10206.jpg
/media/data/images/17082025/00/13/image_17082025_00_13_48_10194.jpg
/media/data/images/17082025/00/13/image_17082025_00_13_59_10208.jpg
/media/data/images/17082025/00/14/image_17082025_00_14_09_10251.jpg
/media/data/images/17082025/00/14/image_17082025_00_14_58_10190.jpg
/media/data/images/17082025/00/15/image_17082025_00_15_09_10445.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5395348072052002 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:44:42.094244
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/13/image_17082025_00_13_38_10206.jpg', '/media/data/images/17082025/00/13/image_17082025_00_13_48_10194.jpg', '/media/data/images/17082025/00/13/image_17082025_00_13_59_10208.jpg', '/media/data/images/17082025/00/14/image_17082025_00_14_09_10251.jpg', '/media/data/images/17082025/00/14/image_17082025_00_14_58_10190.jpg', '/media/data/images/17082025/00/15/image_17082025_00_15_09_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/13/image_17082025_00_13_38_10206.jpg
/media/data/images/17082025/00/13/image_17082025_00_13_48_10194.jpg
/media/data/images/17082025/00/13/image_17082025_00_13_59_10208.jpg
/media/data/images/17082025/00/14/image_17082025_00_14_09_10251.jpg
/media/data/images/17082025/00/14/image_17082025_00_14_58_10190.jpg
/media/data/images/17082025/00/15/image_17082025_00_15_09_10445.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670005","1377670010","1377670007","1377670003","1377670012","1377670015"],"photo_ids_order":["1377670003","1377670005","1377670007","1377670010","1377670012","1377670015"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f27487a66e6fdc5856c8f0fb8ffb8098.jpg","text":"TemporaryFile(/tmp/multipartBody7758738685314368056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_13_48_10194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ed0a5af596bbc6562fde1bf5917b24b.jpg","text":"TemporaryFile(/tmp/multipartBody2633585081936567405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_14_09_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11861ad7bab1132cd7e7e9bae91e4108.jpg","text":"TemporaryFile(/tmp/multipartBody3744129247702122509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_13_59_10208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ae152a44a601dbd9f806623fdd80403.jpg","text":"TemporaryFile(/tmp/multipartBody7688347969710880297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_13_38_10206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2493713d3efdf0ff7e03ca4153c3f82.jpg","text":"TemporaryFile(/tmp/multipartBody4552744769745188341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_14_58_10190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/195eb0b3befa79dd7fc23ddac6138440.jpg","text":"TemporaryFile(/tmp/multipartBody5359446683960475794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438343005,"filename":"image_17082025_00_15_09_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670007","file1":"1377670005","file0":"1377670003","file4":"1377670012","file5":"1377670015","file3":"1377670010"},"map_files_photo_id_array":[{"photo_id":"1377670015","filename":"file5"},{"photo_id":"1377670007","filename":"file2"},{"photo_id":"1377670012","filename":"file4"},{"photo_id":"1377670005","filename":"file1"},{"photo_id":"1377670003","filename":"file0"},{"photo_id":"1377670010","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670005":["hashtag1","hashtag2"]},{"1377670010":["hashtag1","hashtag2"]},{"1377670007":["hashtag1","hashtag2"]},{"1377670003":["hashtag1","hashtag2"]},{"1377670012":["hashtag1","hashtag2"]},{"1377670015":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670005, 1377670010, 1377670007, 1377670003, 1377670012, 1377670015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.916561126708984 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:45:22.208088
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/15/image_17082025_00_15_28_10237.jpg', '/media/data/images/17082025/00/15/image_17082025_00_15_49_10285.jpg', '/media/data/images/17082025/00/15/image_17082025_00_15_58_8980.jpg', '/media/data/images/17082025/00/15/image_17082025_00_16_08_10617.jpg', '/media/data/images/17082025/00/16/image_17082025_00_16_28_8984.jpg', '/media/data/images/17082025/00/16/image_17082025_00_16_48_10200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/15/image_17082025_00_15_28_10237.jpg
/media/data/images/17082025/00/15/image_17082025_00_15_49_10285.jpg
/media/data/images/17082025/00/15/image_17082025_00_15_58_8980.jpg
/media/data/images/17082025/00/15/image_17082025_00_16_08_10617.jpg
/media/data/images/17082025/00/16/image_17082025_00_16_28_8984.jpg
/media/data/images/17082025/00/16/image_17082025_00_16_48_10200.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670034","1377670028","1377670036","1377670030","1377670032","1377670026"],"photo_ids_order":["1377670026","1377670028","1377670030","1377670032","1377670034","1377670036"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c8e4bf4ef4aab78701c975a061919e61.jpg","text":"TemporaryFile(/tmp/multipartBody2225315892502365643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_16_28_8984.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a56f47088fd4dcf6e134f1a4e040fe16.jpg","text":"TemporaryFile(/tmp/multipartBody8045193879029411119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_15_49_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb79517522b96d2e9d546cb4bc7b1fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8411563958904771093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_16_48_10200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2bdcf27033e2e8641f728f2ec9cf2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2082479775786395422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_15_58_8980.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57b8bd8c845adc95e0e4b9fdea928ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2365294139003790126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_16_08_10617.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c36e226b2b04f9bf8e556328af4457c.jpg","text":"TemporaryFile(/tmp/multipartBody4330603259175576568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438383191,"filename":"image_17082025_00_15_28_10237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670030","file1":"1377670028","file0":"1377670026","file4":"1377670034","file5":"1377670036","file3":"1377670032"},"map_files_photo_id_array":[{"photo_id":"1377670036","filename":"file5"},{"photo_id":"1377670030","filename":"file2"},{"photo_id":"1377670034","filename":"file4"},{"photo_id":"1377670028","filename":"file1"},{"photo_id":"1377670026","filename":"file0"},{"photo_id":"1377670032","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670034":["hashtag1","hashtag2"]},{"1377670028":["hashtag1","hashtag2"]},{"1377670036":["hashtag1","hashtag2"]},{"1377670030":["hashtag1","hashtag2"]},{"1377670032":["hashtag1","hashtag2"]},{"1377670026":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670034, 1377670028, 1377670036, 1377670030, 1377670032, 1377670026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.672298431396484 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:46:02.731252
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/16/image_17082025_00_16_58_10198.jpg', '/media/data/images/17082025/00/17/image_17082025_00_17_08_10032.jpg', '/media/data/images/17082025/00/17/image_17082025_00_17_19_10201.jpg', '/media/data/images/17082025/00/17/image_17082025_00_17_29_10224.jpg', '/media/data/images/17082025/00/17/image_17082025_00_17_38_9121.jpg', '/media/data/images/17082025/00/17/image_17082025_00_17_59_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/16/image_17082025_00_16_58_10198.jpg
/media/data/images/17082025/00/17/image_17082025_00_17_08_10032.jpg
/media/data/images/17082025/00/17/image_17082025_00_17_19_10201.jpg
/media/data/images/17082025/00/17/image_17082025_00_17_29_10224.jpg
/media/data/images/17082025/00/17/image_17082025_00_17_38_9121.jpg
/media/data/images/17082025/00/17/image_17082025_00_17_59_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670046","1377670060","1377670057","1377670062","1377670044","1377670056"],"photo_ids_order":["1377670044","1377670046","1377670056","1377670057","1377670060","1377670062"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ecbf681049a8ab237c418a6a8e6b367.jpg","text":"TemporaryFile(/tmp/multipartBody5906696264235187483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_17_08_10032.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1660c4dce20d2c1d47edee34a67c724.jpg","text":"TemporaryFile(/tmp/multipartBody6340054714155896398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_17_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/933d455aa21a724e9f76959abaf8f628.jpg","text":"TemporaryFile(/tmp/multipartBody5129674403311052613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_17_29_10224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bbf6dd1e56d38017b97909377ec15de7.jpg","text":"TemporaryFile(/tmp/multipartBody6969628245722666450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_17_59_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3bba765380e0bddb53eade6335082a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7216577429789873507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_16_58_10198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/077a8022de68f0378781adb05d0b04cb.jpg","text":"TemporaryFile(/tmp/multipartBody6246390673762816763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438423719,"filename":"image_17082025_00_17_19_10201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670056","file1":"1377670046","file0":"1377670044","file4":"1377670060","file5":"1377670062","file3":"1377670057"},"map_files_photo_id_array":[{"photo_id":"1377670062","filename":"file5"},{"photo_id":"1377670056","filename":"file2"},{"photo_id":"1377670060","filename":"file4"},{"photo_id":"1377670046","filename":"file1"},{"photo_id":"1377670044","filename":"file0"},{"photo_id":"1377670057","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670046":["hashtag1","hashtag2"]},{"1377670060":["hashtag1","hashtag2"]},{"1377670057":["hashtag1","hashtag2"]},{"1377670062":["hashtag1","hashtag2"]},{"1377670044":["hashtag1","hashtag2"]},{"1377670056":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670046, 1377670060, 1377670057, 1377670062, 1377670044, 1377670056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70953989028931 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:47:03.109307
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/18/image_17082025_00_18_08_9006.jpg', '/media/data/images/17082025/00/18/image_17082025_00_18_18_10389.jpg', '/media/data/images/17082025/00/18/image_17082025_00_18_39_10363.jpg', '/media/data/images/17082025/00/18/image_17082025_00_18_48_9197.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_09_10267.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_18_9168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/18/image_17082025_00_18_08_9006.jpg
/media/data/images/17082025/00/18/image_17082025_00_18_18_10389.jpg
/media/data/images/17082025/00/18/image_17082025_00_18_39_10363.jpg
/media/data/images/17082025/00/18/image_17082025_00_18_48_9197.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_09_10267.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_18_9168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670072","1377670069","1377670089","1377670080","1377670083","1377670086"],"photo_ids_order":["1377670069","1377670072","1377670080","1377670083","1377670086","1377670089"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/baaaaeea9071a8d58bd0375178a17922.jpg","text":"TemporaryFile(/tmp/multipartBody597736865161298383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_18_18_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15629e6dc1642945cfcc14fbdb55d12b.jpg","text":"TemporaryFile(/tmp/multipartBody4971224720849693644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_18_08_9006.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d677d1bf7eb450c29ebae8ab0b79f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2953392977289628039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_19_18_9168.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e7a2b4d1706ffe164c867cc4253da14.jpg","text":"TemporaryFile(/tmp/multipartBody1449867634183805220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_18_39_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/530bbb3108037e7ddad0f998555702d5.jpg","text":"TemporaryFile(/tmp/multipartBody5683094344526919609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_18_48_9197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e235ceff9fe0683c05bf50daa687695e.jpg","text":"TemporaryFile(/tmp/multipartBody5161201540257069761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438484127,"filename":"image_17082025_00_19_09_10267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670080","file1":"1377670072","file0":"1377670069","file4":"1377670086","file5":"1377670089","file3":"1377670083"},"map_files_photo_id_array":[{"photo_id":"1377670089","filename":"file5"},{"photo_id":"1377670080","filename":"file2"},{"photo_id":"1377670086","filename":"file4"},{"photo_id":"1377670072","filename":"file1"},{"photo_id":"1377670069","filename":"file0"},{"photo_id":"1377670083","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670072":["hashtag1","hashtag2"]},{"1377670069":["hashtag1","hashtag2"]},{"1377670089":["hashtag1","hashtag2"]},{"1377670080":["hashtag1","hashtag2"]},{"1377670083":["hashtag1","hashtag2"]},{"1377670086":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670072, 1377670069, 1377670089, 1377670080, 1377670083, 1377670086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12403464317322 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:48:03.023267
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/19/image_17082025_00_19_28_10385.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_39_10437.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_58_10354.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_09_10266.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_18_9167.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_28_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/19/image_17082025_00_19_28_10385.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_39_10437.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_58_10354.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_09_10266.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_18_9167.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_28_10430.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5707077980041504 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:48:22.595292
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/19/image_17082025_00_19_28_10385.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_39_10437.jpg', '/media/data/images/17082025/00/19/image_17082025_00_19_58_10354.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_09_10266.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_18_9167.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_28_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/19/image_17082025_00_19_28_10385.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_39_10437.jpg
/media/data/images/17082025/00/19/image_17082025_00_19_58_10354.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_09_10266.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_18_9167.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_28_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670119","1377670118","1377670120","1377670111","1377670122","1377670116"],"photo_ids_order":["1377670111","1377670116","1377670118","1377670119","1377670120","1377670122"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/235fc626a04802c73acb83e5731dd889.jpg","text":"TemporaryFile(/tmp/multipartBody5686928306340835394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_20_09_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2567d7b61ec08a947af3a7902b7fbee9.jpg","text":"TemporaryFile(/tmp/multipartBody5464724353676329028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_19_58_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db7bec644dcd09ef186004734fba830c.jpg","text":"TemporaryFile(/tmp/multipartBody4415976979956549066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_20_18_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb9963326fa76b762390ea25d8b10a44.jpg","text":"TemporaryFile(/tmp/multipartBody1219356930931430119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_19_28_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/421c85587b0353571e0e5ab23cb10a24.jpg","text":"TemporaryFile(/tmp/multipartBody2651687730912241097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_20_28_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d83b3337438f782d0bda21dbf22dfea.jpg","text":"TemporaryFile(/tmp/multipartBody900450796705483122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438563517,"filename":"image_17082025_00_19_39_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670118","file1":"1377670116","file0":"1377670111","file4":"1377670120","file5":"1377670122","file3":"1377670119"},"map_files_photo_id_array":[{"photo_id":"1377670122","filename":"file5"},{"photo_id":"1377670118","filename":"file2"},{"photo_id":"1377670120","filename":"file4"},{"photo_id":"1377670116","filename":"file1"},{"photo_id":"1377670111","filename":"file0"},{"photo_id":"1377670119","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670119":["hashtag1","hashtag2"]},{"1377670118":["hashtag1","hashtag2"]},{"1377670120":["hashtag1","hashtag2"]},{"1377670111":["hashtag1","hashtag2"]},{"1377670122":["hashtag1","hashtag2"]},{"1377670116":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670119, 1377670118, 1377670120, 1377670111, 1377670122, 1377670116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56437373161316 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:49:22.682599
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/20/image_17082025_00_20_48_9117.jpg', '/media/data/images/17082025/00/20/image_17082025_00_20_58_10378.jpg', '/media/data/images/17082025/00/21/image_17082025_00_21_18_9151.jpg', '/media/data/images/17082025/00/21/image_17082025_00_21_28_10356.jpg', '/media/data/images/17082025/00/21/image_17082025_00_21_38_10358.jpg', '/media/data/images/17082025/00/21/image_17082025_00_21_58_9121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/20/image_17082025_00_20_48_9117.jpg
/media/data/images/17082025/00/20/image_17082025_00_20_58_10378.jpg
/media/data/images/17082025/00/21/image_17082025_00_21_18_9151.jpg
/media/data/images/17082025/00/21/image_17082025_00_21_28_10356.jpg
/media/data/images/17082025/00/21/image_17082025_00_21_38_10358.jpg
/media/data/images/17082025/00/21/image_17082025_00_21_58_9121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670160","1377670145","1377670138","1377670143","1377670152","1377670140"],"photo_ids_order":["1377670138","1377670140","1377670143","1377670145","1377670152","1377670160"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2540f9d3da52402b38b39570f33136bf.jpg","text":"TemporaryFile(/tmp/multipartBody8351052092855936755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_21_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e59f3042b5eb557b6969c7753c5a17d0.jpg","text":"TemporaryFile(/tmp/multipartBody4213886615963275204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_21_28_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0415db2935113890e4aab54945eba267.jpg","text":"TemporaryFile(/tmp/multipartBody7500594045557412384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_20_48_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24b33f8e1862a0782cefbc9d7df8111e.jpg","text":"TemporaryFile(/tmp/multipartBody4043259238898307730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_21_18_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e21fff911faabb19703660cc7e4bcec.jpg","text":"TemporaryFile(/tmp/multipartBody3736924784760132096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_21_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3cd18b1d17444710dad2170169685814.jpg","text":"TemporaryFile(/tmp/multipartBody6181289615275692889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438623682,"filename":"image_17082025_00_20_58_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670143","file1":"1377670140","file0":"1377670138","file4":"1377670152","file5":"1377670160","file3":"1377670145"},"map_files_photo_id_array":[{"photo_id":"1377670160","filename":"file5"},{"photo_id":"1377670143","filename":"file2"},{"photo_id":"1377670152","filename":"file4"},{"photo_id":"1377670140","filename":"file1"},{"photo_id":"1377670138","filename":"file0"},{"photo_id":"1377670145","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670160":["hashtag1","hashtag2"]},{"1377670145":["hashtag1","hashtag2"]},{"1377670138":["hashtag1","hashtag2"]},{"1377670143":["hashtag1","hashtag2"]},{"1377670152":["hashtag1","hashtag2"]},{"1377670140":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670160, 1377670145, 1377670138, 1377670143, 1377670152, 1377670140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.970102310180664 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:50:21.825429
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/21/image_17082025_00_22_09_10635.jpg', '/media/data/images/17082025/00/22/image_17082025_00_22_18_9205.jpg', '/media/data/images/17082025/00/22/image_17082025_00_22_28_10365.jpg', '/media/data/images/17082025/00/22/image_17082025_00_22_39_10415.jpg', '/media/data/images/17082025/00/23/image_17082025_00_23_19_10351.jpg', '/media/data/images/17082025/00/23/image_17082025_00_23_28_9126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/21/image_17082025_00_22_09_10635.jpg
/media/data/images/17082025/00/22/image_17082025_00_22_18_9205.jpg
/media/data/images/17082025/00/22/image_17082025_00_22_28_10365.jpg
/media/data/images/17082025/00/22/image_17082025_00_22_39_10415.jpg
/media/data/images/17082025/00/23/image_17082025_00_23_19_10351.jpg
/media/data/images/17082025/00/23/image_17082025_00_23_28_9126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670181","1377670178","1377670183","1377670186","1377670174","1377670185"],"photo_ids_order":["1377670174","1377670178","1377670181","1377670183","1377670185","1377670186"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f87f212db4b7a2854cbe77b354c90605.jpg","text":"TemporaryFile(/tmp/multipartBody197903803693236210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_22_28_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5758d5299313e244ffcc25a5b07c437d.jpg","text":"TemporaryFile(/tmp/multipartBody2610633483969117268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_22_18_9205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/163b683b6aeee9466fb9d51b1725349a.jpg","text":"TemporaryFile(/tmp/multipartBody2662554703085250280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_22_39_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7b78e45052230830f4b68aa36d273fb.jpg","text":"TemporaryFile(/tmp/multipartBody1437195520836677290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_23_28_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1ef027501c04352360a22ba4872320e.jpg","text":"TemporaryFile(/tmp/multipartBody4013414733990333120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_22_09_10635.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59bfbebc05e614310928489bfb44909e.jpg","text":"TemporaryFile(/tmp/multipartBody5853698434752733938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438682819,"filename":"image_17082025_00_23_19_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670181","file1":"1377670178","file0":"1377670174","file4":"1377670185","file5":"1377670186","file3":"1377670183"},"map_files_photo_id_array":[{"photo_id":"1377670186","filename":"file5"},{"photo_id":"1377670181","filename":"file2"},{"photo_id":"1377670185","filename":"file4"},{"photo_id":"1377670178","filename":"file1"},{"photo_id":"1377670174","filename":"file0"},{"photo_id":"1377670183","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670181":["hashtag1","hashtag2"]},{"1377670178":["hashtag1","hashtag2"]},{"1377670183":["hashtag1","hashtag2"]},{"1377670186":["hashtag1","hashtag2"]},{"1377670174":["hashtag1","hashtag2"]},{"1377670185":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670181, 1377670178, 1377670183, 1377670186, 1377670174, 1377670185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87435865402222 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:51:21.940099
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/23/image_17082025_00_23_38_10360.jpg', '/media/data/images/17082025/00/23/image_17082025_00_23_49_10475.jpg', '/media/data/images/17082025/00/23/image_17082025_00_23_58_9217.jpg', '/media/data/images/17082025/00/24/image_17082025_00_24_18_9210.jpg', '/media/data/images/17082025/00/24/image_17082025_00_24_28_10386.jpg', '/media/data/images/17082025/00/24/image_17082025_00_24_39_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/23/image_17082025_00_23_38_10360.jpg
/media/data/images/17082025/00/23/image_17082025_00_23_49_10475.jpg
/media/data/images/17082025/00/23/image_17082025_00_23_58_9217.jpg
/media/data/images/17082025/00/24/image_17082025_00_24_18_9210.jpg
/media/data/images/17082025/00/24/image_17082025_00_24_28_10386.jpg
/media/data/images/17082025/00/24/image_17082025_00_24_39_10456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670208","1377670201","1377670210","1377670204","1377670207","1377670209"],"photo_ids_order":["1377670201","1377670204","1377670207","1377670208","1377670209","1377670210"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/919f22be869ec9ef9df1c2607fe0b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8710986137730620374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_24_18_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b1cabb14c656ec9c890110d98c28f89.jpg","text":"TemporaryFile(/tmp/multipartBody7370419826053694568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_23_38_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77a1e19080d89479793e599c06b5cc18.jpg","text":"TemporaryFile(/tmp/multipartBody7201386044644039082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_24_39_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9120992dd684a48d0a6d6160518d5611.jpg","text":"TemporaryFile(/tmp/multipartBody4728093465102738714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_23_49_10475.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b92683455196344739dd46c2d9c12ad.jpg","text":"TemporaryFile(/tmp/multipartBody3696821960598719618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_23_58_9217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83d105ca27293139472d1ddeb421516f.jpg","text":"TemporaryFile(/tmp/multipartBody8030379551166484161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438742953,"filename":"image_17082025_00_24_28_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670207","file1":"1377670204","file0":"1377670201","file4":"1377670209","file5":"1377670210","file3":"1377670208"},"map_files_photo_id_array":[{"photo_id":"1377670210","filename":"file5"},{"photo_id":"1377670207","filename":"file2"},{"photo_id":"1377670209","filename":"file4"},{"photo_id":"1377670204","filename":"file1"},{"photo_id":"1377670201","filename":"file0"},{"photo_id":"1377670208","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670208":["hashtag1","hashtag2"]},{"1377670201":["hashtag1","hashtag2"]},{"1377670210":["hashtag1","hashtag2"]},{"1377670204":["hashtag1","hashtag2"]},{"1377670207":["hashtag1","hashtag2"]},{"1377670209":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670208, 1377670201, 1377670210, 1377670204, 1377670207, 1377670209)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.10426902770996 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:52:22.051222
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/24/image_17082025_00_24_48_9124.jpg', '/media/data/images/17082025/00/24/image_17082025_00_24_58_10429.jpg', '/media/data/images/17082025/00/25/image_17082025_00_25_08_10220.jpg', '/media/data/images/17082025/00/25/image_17082025_00_25_19_10405.jpg', '/media/data/images/17082025/00/25/image_17082025_00_25_28_9224.jpg', '/media/data/images/17082025/00/25/image_17082025_00_25_38_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/24/image_17082025_00_24_48_9124.jpg
/media/data/images/17082025/00/24/image_17082025_00_24_58_10429.jpg
/media/data/images/17082025/00/25/image_17082025_00_25_08_10220.jpg
/media/data/images/17082025/00/25/image_17082025_00_25_19_10405.jpg
/media/data/images/17082025/00/25/image_17082025_00_25_28_9224.jpg
/media/data/images/17082025/00/25/image_17082025_00_25_38_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670235","1377670229","1377670231","1377670239","1377670233","1377670227"],"photo_ids_order":["1377670227","1377670229","1377670231","1377670233","1377670235","1377670239"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41a0b3d248125734482a036c0259c3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4026912876014924621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_25_28_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6427ef3210901469ba1dd86a02e5156.jpg","text":"TemporaryFile(/tmp/multipartBody9049556648449858733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_24_58_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f08cc51f73c94c7820031683c1859308.jpg","text":"TemporaryFile(/tmp/multipartBody643428867365197742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_25_08_10220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dd674259aedd231351a9bba3b9f7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7215013438868992885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_25_38_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85b1a6e11261d057f6d75a68c6d4de01.jpg","text":"TemporaryFile(/tmp/multipartBody466705730810445860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_25_19_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53f2b64b43977dd3068c180f52129942.jpg","text":"TemporaryFile(/tmp/multipartBody1279277573842385837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438803052,"filename":"image_17082025_00_24_48_9124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670231","file1":"1377670229","file0":"1377670227","file4":"1377670235","file5":"1377670239","file3":"1377670233"},"map_files_photo_id_array":[{"photo_id":"1377670239","filename":"file5"},{"photo_id":"1377670231","filename":"file2"},{"photo_id":"1377670235","filename":"file4"},{"photo_id":"1377670229","filename":"file1"},{"photo_id":"1377670227","filename":"file0"},{"photo_id":"1377670233","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670235":["hashtag1","hashtag2"]},{"1377670229":["hashtag1","hashtag2"]},{"1377670231":["hashtag1","hashtag2"]},{"1377670239":["hashtag1","hashtag2"]},{"1377670233":["hashtag1","hashtag2"]},{"1377670227":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670235, 1377670229, 1377670231, 1377670239, 1377670233, 1377670227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.846445083618164 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:53:22.184943
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/25/image_17082025_00_25_58_9117.jpg', '/media/data/images/17082025/00/25/image_17082025_00_26_08_10432.jpg', '/media/data/images/17082025/00/26/image_17082025_00_26_18_9328.jpg', '/media/data/images/17082025/00/26/image_17082025_00_26_28_10405.jpg', '/media/data/images/17082025/00/26/image_17082025_00_26_48_9230.jpg', '/media/data/images/17082025/00/26/image_17082025_00_26_58_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/25/image_17082025_00_25_58_9117.jpg
/media/data/images/17082025/00/25/image_17082025_00_26_08_10432.jpg
/media/data/images/17082025/00/26/image_17082025_00_26_18_9328.jpg
/media/data/images/17082025/00/26/image_17082025_00_26_28_10405.jpg
/media/data/images/17082025/00/26/image_17082025_00_26_48_9230.jpg
/media/data/images/17082025/00/26/image_17082025_00_26_58_10407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670265","1377670256","1377670258","1377670267","1377670260","1377670263"],"photo_ids_order":["1377670256","1377670258","1377670260","1377670263","1377670265","1377670267"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/969b2a4b1eeef02c03a375a4c7c0d7f0.jpg","text":"TemporaryFile(/tmp/multipartBody5196209370070396507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_26_48_9230.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bacb6779fe4e127d7db933a58caeebf7.jpg","text":"TemporaryFile(/tmp/multipartBody2297677772710001050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_25_58_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9e6a6400e1de6583fc135df66c70116.jpg","text":"TemporaryFile(/tmp/multipartBody4380085179978896634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_26_08_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92478cbb2dce0249b5aebc7c8de01d4e.jpg","text":"TemporaryFile(/tmp/multipartBody850421345294281113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_26_58_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e9f308aa06308058d9529e40a1b5bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4605632515220903639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_26_18_9328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/80764031c603f1803678ea7055574654.jpg","text":"TemporaryFile(/tmp/multipartBody6682893749467047912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438863182,"filename":"image_17082025_00_26_28_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670260","file1":"1377670258","file0":"1377670256","file4":"1377670265","file5":"1377670267","file3":"1377670263"},"map_files_photo_id_array":[{"photo_id":"1377670267","filename":"file5"},{"photo_id":"1377670260","filename":"file2"},{"photo_id":"1377670265","filename":"file4"},{"photo_id":"1377670258","filename":"file1"},{"photo_id":"1377670256","filename":"file0"},{"photo_id":"1377670263","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670265":["hashtag1","hashtag2"]},{"1377670256":["hashtag1","hashtag2"]},{"1377670258":["hashtag1","hashtag2"]},{"1377670267":["hashtag1","hashtag2"]},{"1377670260":["hashtag1","hashtag2"]},{"1377670263":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670265, 1377670256, 1377670258, 1377670267, 1377670260, 1377670263)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.73396873474121 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:54:22.364601
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/27/image_17082025_00_27_19_10376.jpg', '/media/data/images/17082025/00/27/image_17082025_00_27_28_9131.jpg', '/media/data/images/17082025/00/27/image_17082025_00_27_38_10471.jpg', '/media/data/images/17082025/00/27/image_17082025_00_27_58_9127.jpg', '/media/data/images/17082025/00/27/image_17082025_00_28_08_10533.jpg', '/media/data/images/17082025/00/28/image_17082025_00_28_28_9216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/27/image_17082025_00_27_19_10376.jpg
/media/data/images/17082025/00/27/image_17082025_00_27_28_9131.jpg
/media/data/images/17082025/00/27/image_17082025_00_27_38_10471.jpg
/media/data/images/17082025/00/27/image_17082025_00_27_58_9127.jpg
/media/data/images/17082025/00/27/image_17082025_00_28_08_10533.jpg
/media/data/images/17082025/00/28/image_17082025_00_28_28_9216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670292","1377670295","1377670289","1377670297","1377670285","1377670281"],"photo_ids_order":["1377670281","1377670285","1377670289","1377670292","1377670295","1377670297"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09fa8f4b57a02b5c80d9996943e2ca29.jpg","text":"TemporaryFile(/tmp/multipartBody4869777201666368958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_27_58_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eedf7e5b0d34e7fc4d2a71c54fd0002f.jpg","text":"TemporaryFile(/tmp/multipartBody1073666762953481516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_28_08_10533.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c2da01d4b9883e059e9097e3535a528.jpg","text":"TemporaryFile(/tmp/multipartBody1220017335190913594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_27_38_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a9c466d4d8b0c9a4cff8acc4d4aa630.jpg","text":"TemporaryFile(/tmp/multipartBody2128511450850853617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_28_28_9216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e05579d6e99af4aa167e3b579793c95c.jpg","text":"TemporaryFile(/tmp/multipartBody8137391252019836478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_27_28_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b815d19bdc5221dac30b1a70c8fb42fb.jpg","text":"TemporaryFile(/tmp/multipartBody5490205631870606693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438923359,"filename":"image_17082025_00_27_19_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670289","file1":"1377670285","file0":"1377670281","file4":"1377670295","file5":"1377670297","file3":"1377670292"},"map_files_photo_id_array":[{"photo_id":"1377670297","filename":"file5"},{"photo_id":"1377670289","filename":"file2"},{"photo_id":"1377670295","filename":"file4"},{"photo_id":"1377670285","filename":"file1"},{"photo_id":"1377670281","filename":"file0"},{"photo_id":"1377670292","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670292":["hashtag1","hashtag2"]},{"1377670295":["hashtag1","hashtag2"]},{"1377670289":["hashtag1","hashtag2"]},{"1377670297":["hashtag1","hashtag2"]},{"1377670285":["hashtag1","hashtag2"]},{"1377670281":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670292, 1377670295, 1377670289, 1377670297, 1377670285, 1377670281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69400095939636 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:55:22.422482
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/28/image_17082025_00_28_38_10450.jpg', '/media/data/images/17082025/00/28/image_17082025_00_28_48_9229.jpg', '/media/data/images/17082025/00/29/image_17082025_00_29_08_10281.jpg', '/media/data/images/17082025/00/29/image_17082025_00_29_19_10355.jpg', '/media/data/images/17082025/00/29/image_17082025_00_29_58_9121.jpg', '/media/data/images/17082025/00/29/image_17082025_00_30_09_10775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/28/image_17082025_00_28_38_10450.jpg
/media/data/images/17082025/00/28/image_17082025_00_28_48_9229.jpg
/media/data/images/17082025/00/29/image_17082025_00_29_08_10281.jpg
/media/data/images/17082025/00/29/image_17082025_00_29_19_10355.jpg
/media/data/images/17082025/00/29/image_17082025_00_29_58_9121.jpg
/media/data/images/17082025/00/29/image_17082025_00_30_09_10775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670317","1377670319","1377670313","1377670321","1377670315","1377670309"],"photo_ids_order":["1377670309","1377670313","1377670315","1377670317","1377670319","1377670321"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61d5d9bae55b4ac0eb4789244c0d1b82.jpg","text":"TemporaryFile(/tmp/multipartBody5004690770051341288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_29_19_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccce5696a926d81064efb1d0b17ccac5.jpg","text":"TemporaryFile(/tmp/multipartBody6801348990840262411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_29_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25482399426e77461f6d6168f1d2d7c9.jpg","text":"TemporaryFile(/tmp/multipartBody3608328141079908752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_28_48_9229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e114eb4c586ea75b8f138874a8a2820.jpg","text":"TemporaryFile(/tmp/multipartBody4506167189154244941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_30_09_10775.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea3a788b0141760bf53d9c8c37e07b56.jpg","text":"TemporaryFile(/tmp/multipartBody269385298441945618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_29_08_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c68b1be80a21ade13ea24953c9a9dcf.jpg","text":"TemporaryFile(/tmp/multipartBody816516994171649375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438983411,"filename":"image_17082025_00_28_38_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670315","file1":"1377670313","file0":"1377670309","file4":"1377670319","file5":"1377670321","file3":"1377670317"},"map_files_photo_id_array":[{"photo_id":"1377670321","filename":"file5"},{"photo_id":"1377670315","filename":"file2"},{"photo_id":"1377670319","filename":"file4"},{"photo_id":"1377670313","filename":"file1"},{"photo_id":"1377670309","filename":"file0"},{"photo_id":"1377670317","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670317":["hashtag1","hashtag2"]},{"1377670319":["hashtag1","hashtag2"]},{"1377670313":["hashtag1","hashtag2"]},{"1377670321":["hashtag1","hashtag2"]},{"1377670315":["hashtag1","hashtag2"]},{"1377670309":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670317, 1377670319, 1377670313, 1377670321, 1377670315, 1377670309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80518579483032 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:56:02.992232
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/30/image_17082025_00_30_18_9285.jpg', '/media/data/images/17082025/00/30/image_17082025_00_30_28_10109.jpg', '/media/data/images/17082025/00/30/image_17082025_00_30_38_10392.jpg', '/media/data/images/17082025/00/30/image_17082025_00_30_49_10428.jpg', '/media/data/images/17082025/00/30/image_17082025_00_30_58_9192.jpg', '/media/data/images/17082025/00/30/image_17082025_00_31_09_10612.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/30/image_17082025_00_30_18_9285.jpg
/media/data/images/17082025/00/30/image_17082025_00_30_28_10109.jpg
/media/data/images/17082025/00/30/image_17082025_00_30_38_10392.jpg
/media/data/images/17082025/00/30/image_17082025_00_30_49_10428.jpg
/media/data/images/17082025/00/30/image_17082025_00_30_58_9192.jpg
/media/data/images/17082025/00/30/image_17082025_00_31_09_10612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670340","1377670334","1377670337","1377670327","1377670342","1377670338"],"photo_ids_order":["1377670327","1377670334","1377670337","1377670338","1377670340","1377670342"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3028d037780a6d73643dd3b09027651.jpg","text":"TemporaryFile(/tmp/multipartBody1018748700715028484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_30_58_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6555fdb4594629bab25f887b115c681b.jpg","text":"TemporaryFile(/tmp/multipartBody6397687283121815147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_30_28_10109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f58e45b67d9bc5b79af67255fe26ffd9.jpg","text":"TemporaryFile(/tmp/multipartBody479536119530774751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_30_38_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0b83a591cc11654243bd278725ff001.jpg","text":"TemporaryFile(/tmp/multipartBody5389486702973424909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_30_18_9285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24d8e1ab2d65122e592eefa951be14b1.jpg","text":"TemporaryFile(/tmp/multipartBody6826554084393270165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_31_09_10612.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68fea8289c0fa63caefa3eb81e0295ac.jpg","text":"TemporaryFile(/tmp/multipartBody2283180054901896857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439023968,"filename":"image_17082025_00_30_49_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670337","file1":"1377670334","file0":"1377670327","file4":"1377670340","file5":"1377670342","file3":"1377670338"},"map_files_photo_id_array":[{"photo_id":"1377670342","filename":"file5"},{"photo_id":"1377670337","filename":"file2"},{"photo_id":"1377670340","filename":"file4"},{"photo_id":"1377670334","filename":"file1"},{"photo_id":"1377670327","filename":"file0"},{"photo_id":"1377670338","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670340":["hashtag1","hashtag2"]},{"1377670334":["hashtag1","hashtag2"]},{"1377670337":["hashtag1","hashtag2"]},{"1377670327":["hashtag1","hashtag2"]},{"1377670342":["hashtag1","hashtag2"]},{"1377670338":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670340, 1377670334, 1377670337, 1377670327, 1377670342, 1377670338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.540363073349 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:56:42.523549
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/31/image_17082025_00_31_28_10375.jpg', '/media/data/images/17082025/00/31/image_17082025_00_31_49_10370.jpg', '/media/data/images/17082025/00/31/image_17082025_00_31_58_9231.jpg', '/media/data/images/17082025/00/32/image_17082025_00_32_18_9150.jpg', '/media/data/images/17082025/00/32/image_17082025_00_32_38_10362.jpg', '/media/data/images/17082025/00/32/image_17082025_00_32_49_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/31/image_17082025_00_31_28_10375.jpg
/media/data/images/17082025/00/31/image_17082025_00_31_49_10370.jpg
/media/data/images/17082025/00/31/image_17082025_00_31_58_9231.jpg
/media/data/images/17082025/00/32/image_17082025_00_32_18_9150.jpg
/media/data/images/17082025/00/32/image_17082025_00_32_38_10362.jpg
/media/data/images/17082025/00/32/image_17082025_00_32_49_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670466","1377670366","1377670540","1377670435","1377670402","1377670503"],"photo_ids_order":["1377670366","1377670402","1377670435","1377670466","1377670503","1377670540"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53c8ef6e342e7d50017c390a5e4789bc.jpg","text":"TemporaryFile(/tmp/multipartBody3793781973978246826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_32_18_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e59779693c5228ac91e55a30bb3cc554.jpg","text":"TemporaryFile(/tmp/multipartBody3764885723438616728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_31_28_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8714f5dffeb6ac734a1aeb47e355dd8.jpg","text":"TemporaryFile(/tmp/multipartBody295827179668176239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_32_49_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/777388454950ea89af364b63963ae181.jpg","text":"TemporaryFile(/tmp/multipartBody6803215023513261157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_31_58_9231.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f748ce11979b4dbe0b1c58b56691bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5602998725170377188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_31_49_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d826824c10e2519773b71cf8d7d399b.jpg","text":"TemporaryFile(/tmp/multipartBody9047778016950345838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439063496,"filename":"image_17082025_00_32_38_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670435","file1":"1377670402","file0":"1377670366","file4":"1377670503","file5":"1377670540","file3":"1377670466"},"map_files_photo_id_array":[{"photo_id":"1377670540","filename":"file5"},{"photo_id":"1377670435","filename":"file2"},{"photo_id":"1377670503","filename":"file4"},{"photo_id":"1377670402","filename":"file1"},{"photo_id":"1377670366","filename":"file0"},{"photo_id":"1377670466","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670466":["hashtag1","hashtag2"]},{"1377670366":["hashtag1","hashtag2"]},{"1377670540":["hashtag1","hashtag2"]},{"1377670435":["hashtag1","hashtag2"]},{"1377670402":["hashtag1","hashtag2"]},{"1377670503":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670466, 1377670366, 1377670540, 1377670435, 1377670402, 1377670503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2243332862854 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:57:42.626775
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/32/image_17082025_00_32_58_9213.jpg', '/media/data/images/17082025/00/32/image_17082025_00_33_08_10407.jpg', '/media/data/images/17082025/00/33/image_17082025_00_33_19_10372.jpg', '/media/data/images/17082025/00/33/image_17082025_00_33_58_9135.jpg', '/media/data/images/17082025/00/34/image_17082025_00_34_19_10370.jpg', '/media/data/images/17082025/00/34/image_17082025_00_34_28_9122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/32/image_17082025_00_32_58_9213.jpg
/media/data/images/17082025/00/32/image_17082025_00_33_08_10407.jpg
/media/data/images/17082025/00/33/image_17082025_00_33_19_10372.jpg
/media/data/images/17082025/00/33/image_17082025_00_33_58_9135.jpg
/media/data/images/17082025/00/34/image_17082025_00_34_19_10370.jpg
/media/data/images/17082025/00/34/image_17082025_00_34_28_9122.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670853","1377670865","1377670789","1377670822","1377670893","1377670863"],"photo_ids_order":["1377670789","1377670822","1377670853","1377670863","1377670865","1377670893"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d71e4f54a480f4471c35e0e6ca79b0db.jpg","text":"TemporaryFile(/tmp/multipartBody1652013523225227515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_33_19_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c7d617ddc1f4795f6d48a61d5b1fde6.jpg","text":"TemporaryFile(/tmp/multipartBody480522734949316715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_34_19_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f73ec7f893ed1199cc5d29d9a84c46f.jpg","text":"TemporaryFile(/tmp/multipartBody5537393858957251415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_32_58_9213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13dd27429a95623bed54412cc9c91eee.jpg","text":"TemporaryFile(/tmp/multipartBody36274342335491671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_33_08_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/427834b74c1afb37c3d2966413bd9606.jpg","text":"TemporaryFile(/tmp/multipartBody5112665772281813022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_34_28_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5e4b82b9f5115659fcca871d81fc0fd.jpg","text":"TemporaryFile(/tmp/multipartBody6747880115428612865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439123863,"filename":"image_17082025_00_33_58_9135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670853","file1":"1377670822","file0":"1377670789","file4":"1377670865","file5":"1377670893","file3":"1377670863"},"map_files_photo_id_array":[{"photo_id":"1377670893","filename":"file5"},{"photo_id":"1377670853","filename":"file2"},{"photo_id":"1377670865","filename":"file4"},{"photo_id":"1377670822","filename":"file1"},{"photo_id":"1377670789","filename":"file0"},{"photo_id":"1377670863","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670853":["hashtag1","hashtag2"]},{"1377670865":["hashtag1","hashtag2"]},{"1377670789":["hashtag1","hashtag2"]},{"1377670822":["hashtag1","hashtag2"]},{"1377670893":["hashtag1","hashtag2"]},{"1377670863":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670853, 1377670865, 1377670789, 1377670822, 1377670893, 1377670863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.023611068725586 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 15:59:03.509919
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/34/image_17082025_00_34_38_10518.jpg', '/media/data/images/17082025/00/34/image_17082025_00_34_48_9210.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_08_10128.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_19_10369.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_28_9116.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_38_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/34/image_17082025_00_34_38_10518.jpg
/media/data/images/17082025/00/34/image_17082025_00_34_48_9210.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_08_10128.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_19_10369.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_28_9116.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_38_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670958","1377670943","1377670962","1377670950","1377670953","1377670935"],"photo_ids_order":["1377670935","1377670943","1377670950","1377670953","1377670958","1377670962"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db12c3456a7c6b56a0abd48fc73ffbc2.jpg","text":"TemporaryFile(/tmp/multipartBody1887590403033558636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_35_28_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/350af179cd0a0f2f59f3249cb1065423.jpg","text":"TemporaryFile(/tmp/multipartBody3815942347627102847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_34_48_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/169bd5a81693e6ec90dabe3c4e016583.jpg","text":"TemporaryFile(/tmp/multipartBody8222589580093234312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_35_38_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfb1078b4a75c9782a11726a960010d9.jpg","text":"TemporaryFile(/tmp/multipartBody3777034719645970318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_35_08_10128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5bbba474e7ac1fa95cbebb49efd1f95.jpg","text":"TemporaryFile(/tmp/multipartBody8080471236724428569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_35_19_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36ff4e42192cbda0d6dbd991d3b67bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6000856149304110208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204499,"filename":"image_17082025_00_34_38_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670950","file1":"1377670943","file0":"1377670935","file4":"1377670958","file5":"1377670962","file3":"1377670953"},"map_files_photo_id_array":[{"photo_id":"1377670962","filename":"file5"},{"photo_id":"1377670950","filename":"file2"},{"photo_id":"1377670958","filename":"file4"},{"photo_id":"1377670943","filename":"file1"},{"photo_id":"1377670935","filename":"file0"},{"photo_id":"1377670953","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377670958":["hashtag1","hashtag2"]},{"1377670943":["hashtag1","hashtag2"]},{"1377670962":["hashtag1","hashtag2"]},{"1377670950":["hashtag1","hashtag2"]},{"1377670953":["hashtag1","hashtag2"]},{"1377670935":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377670958, 1377670943, 1377670962, 1377670950, 1377670953, 1377670935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32195734977722 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:00:02.378498
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/35/image_17082025_00_35_49_10377.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_58_9186.jpg', '/media/data/images/17082025/00/35/image_17082025_00_36_08_10529.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_19_10373.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_28_9125.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_38_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/35/image_17082025_00_35_49_10377.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_58_9186.jpg
/media/data/images/17082025/00/35/image_17082025_00_36_08_10529.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_19_10373.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_28_9125.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_38_10369.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.560492992401123 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:00:21.853043
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/35/image_17082025_00_35_49_10377.jpg', '/media/data/images/17082025/00/35/image_17082025_00_35_58_9186.jpg', '/media/data/images/17082025/00/35/image_17082025_00_36_08_10529.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_19_10373.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_28_9125.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_38_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/35/image_17082025_00_35_49_10377.jpg
/media/data/images/17082025/00/35/image_17082025_00_35_58_9186.jpg
/media/data/images/17082025/00/35/image_17082025_00_36_08_10529.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_19_10373.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_28_9125.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_38_10369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671003","1377671006","1377670995","1377671010","1377670998","1377671001"],"photo_ids_order":["1377670995","1377670998","1377671001","1377671003","1377671006","1377671010"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19d270b229662ae3880a57dd2897dce5.jpg","text":"TemporaryFile(/tmp/multipartBody777949527136238018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_36_19_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2725193115da8e006634ff71887f836.jpg","text":"TemporaryFile(/tmp/multipartBody834439684731911528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_36_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/271c8aefb95a40b72d33686644b5743a.jpg","text":"TemporaryFile(/tmp/multipartBody6437426282790224990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_35_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7f0c9a8620bf77e2b047604d22c54a2.jpg","text":"TemporaryFile(/tmp/multipartBody4331928948074986382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_36_38_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3536ec9943b8f2a70b182e0f5537d14b.jpg","text":"TemporaryFile(/tmp/multipartBody8233316387305136333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_35_58_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86b7726c672248189ef8b02f422c6bca.jpg","text":"TemporaryFile(/tmp/multipartBody183284702528963566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439282749,"filename":"image_17082025_00_36_08_10529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671001","file1":"1377670998","file0":"1377670995","file4":"1377671006","file5":"1377671010","file3":"1377671003"},"map_files_photo_id_array":[{"photo_id":"1377671010","filename":"file5"},{"photo_id":"1377671001","filename":"file2"},{"photo_id":"1377671006","filename":"file4"},{"photo_id":"1377670998","filename":"file1"},{"photo_id":"1377670995","filename":"file0"},{"photo_id":"1377671003","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671003":["hashtag1","hashtag2"]},{"1377671006":["hashtag1","hashtag2"]},{"1377670995":["hashtag1","hashtag2"]},{"1377671010":["hashtag1","hashtag2"]},{"1377670998":["hashtag1","hashtag2"]},{"1377671001":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671003, 1377671006, 1377670995, 1377671010, 1377670998, 1377671001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51406264305115 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:01:21.979637
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/36/image_17082025_00_36_49_10369.jpg', '/media/data/images/17082025/00/36/image_17082025_00_36_58_9141.jpg', '/media/data/images/17082025/00/36/image_17082025_00_37_08_10512.jpg', '/media/data/images/17082025/00/37/image_17082025_00_37_19_10395.jpg', '/media/data/images/17082025/00/37/image_17082025_00_37_28_9238.jpg', '/media/data/images/17082025/00/37/image_17082025_00_37_38_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/36/image_17082025_00_36_49_10369.jpg
/media/data/images/17082025/00/36/image_17082025_00_36_58_9141.jpg
/media/data/images/17082025/00/36/image_17082025_00_37_08_10512.jpg
/media/data/images/17082025/00/37/image_17082025_00_37_19_10395.jpg
/media/data/images/17082025/00/37/image_17082025_00_37_28_9238.jpg
/media/data/images/17082025/00/37/image_17082025_00_37_38_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671042","1377671036","1377671045","1377671039","1377671028","1377671033"],"photo_ids_order":["1377671028","1377671033","1377671036","1377671039","1377671042","1377671045"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d039e4cc86c1d4680f54cdaee1515e00.jpg","text":"TemporaryFile(/tmp/multipartBody1174004692510711592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_37_28_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3da324de74685eca7de387fdabc1e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody264445955212116897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_37_08_10512.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8ab7cad2ff5ad08e0b605ade2be81e7.jpg","text":"TemporaryFile(/tmp/multipartBody55034363270888589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_37_38_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfc18829b39af184e02398740997741d.jpg","text":"TemporaryFile(/tmp/multipartBody4171920345717068501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_37_19_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92a3daad380cb28fabd99761c5cb3685.jpg","text":"TemporaryFile(/tmp/multipartBody2396974996302377864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_36_49_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c79ca48a53b7465e8dbb972303436730.jpg","text":"TemporaryFile(/tmp/multipartBody1312091852839854605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439342955,"filename":"image_17082025_00_36_58_9141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671036","file1":"1377671033","file0":"1377671028","file4":"1377671042","file5":"1377671045","file3":"1377671039"},"map_files_photo_id_array":[{"photo_id":"1377671045","filename":"file5"},{"photo_id":"1377671036","filename":"file2"},{"photo_id":"1377671042","filename":"file4"},{"photo_id":"1377671033","filename":"file1"},{"photo_id":"1377671028","filename":"file0"},{"photo_id":"1377671039","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671042":["hashtag1","hashtag2"]},{"1377671036":["hashtag1","hashtag2"]},{"1377671045":["hashtag1","hashtag2"]},{"1377671039":["hashtag1","hashtag2"]},{"1377671028":["hashtag1","hashtag2"]},{"1377671033":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671042, 1377671036, 1377671045, 1377671039, 1377671028, 1377671033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.648372650146484 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:02:22.084039
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/37/image_17082025_00_37_49_10446.jpg', '/media/data/images/17082025/00/37/image_17082025_00_37_58_9175.jpg', '/media/data/images/17082025/00/37/image_17082025_00_38_08_10571.jpg', '/media/data/images/17082025/00/38/image_17082025_00_38_18_9186.jpg', '/media/data/images/17082025/00/38/image_17082025_00_38_28_10459.jpg', '/media/data/images/17082025/00/38/image_17082025_00_38_39_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/37/image_17082025_00_37_49_10446.jpg
/media/data/images/17082025/00/37/image_17082025_00_37_58_9175.jpg
/media/data/images/17082025/00/37/image_17082025_00_38_08_10571.jpg
/media/data/images/17082025/00/38/image_17082025_00_38_18_9186.jpg
/media/data/images/17082025/00/38/image_17082025_00_38_28_10459.jpg
/media/data/images/17082025/00/38/image_17082025_00_38_39_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671063","1377671073","1377671070","1377671058","1377671067","1377671075"],"photo_ids_order":["1377671058","1377671063","1377671067","1377671070","1377671073","1377671075"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/95aff40efae7b84ef462349403abbbc5.jpg","text":"TemporaryFile(/tmp/multipartBody849912411219201240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_37_58_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/945b088440ecc949fc07ccf5f59fd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody6126514676615270719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_38_28_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/789e8c5dde228b02b189cad0be165ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7193661471608402872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_38_18_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed34734a55e13e9a8d8cb37f450aeb2a.jpg","text":"TemporaryFile(/tmp/multipartBody8370721680065783395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_37_49_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13d09fe19b8133175160df2366e4f660.jpg","text":"TemporaryFile(/tmp/multipartBody6305241507019453408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_38_08_10571.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2aeefc01ecfbda03342a01777f259113.jpg","text":"TemporaryFile(/tmp/multipartBody6223555623367985074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439403086,"filename":"image_17082025_00_38_39_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671067","file1":"1377671063","file0":"1377671058","file4":"1377671073","file5":"1377671075","file3":"1377671070"},"map_files_photo_id_array":[{"photo_id":"1377671075","filename":"file5"},{"photo_id":"1377671067","filename":"file2"},{"photo_id":"1377671073","filename":"file4"},{"photo_id":"1377671063","filename":"file1"},{"photo_id":"1377671058","filename":"file0"},{"photo_id":"1377671070","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671063":["hashtag1","hashtag2"]},{"1377671073":["hashtag1","hashtag2"]},{"1377671070":["hashtag1","hashtag2"]},{"1377671058":["hashtag1","hashtag2"]},{"1377671067":["hashtag1","hashtag2"]},{"1377671075":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671063, 1377671073, 1377671070, 1377671058, 1377671067, 1377671075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82127499580383 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:03:22.163896
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/38/image_17082025_00_38_58_10421.jpg', '/media/data/images/17082025/00/39/image_17082025_00_39_28_10482.jpg', '/media/data/images/17082025/00/39/image_17082025_00_39_58_10389.jpg', '/media/data/images/17082025/00/40/image_17082025_00_40_08_10211.jpg', '/media/data/images/17082025/00/40/image_17082025_00_40_18_9173.jpg', '/media/data/images/17082025/00/40/image_17082025_00_40_48_9187.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/38/image_17082025_00_38_58_10421.jpg
/media/data/images/17082025/00/39/image_17082025_00_39_28_10482.jpg
/media/data/images/17082025/00/39/image_17082025_00_39_58_10389.jpg
/media/data/images/17082025/00/40/image_17082025_00_40_08_10211.jpg
/media/data/images/17082025/00/40/image_17082025_00_40_18_9173.jpg
/media/data/images/17082025/00/40/image_17082025_00_40_48_9187.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671092","1377671101","1377671104","1377671094","1377671097","1377671090"],"photo_ids_order":["1377671090","1377671092","1377671094","1377671097","1377671101","1377671104"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15aabdd07e786b639343627267a83ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2974010278679277018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_39_28_10482.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/218839b28a4cd5a8eef31d401f233cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4361924203286214533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_40_18_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96f266761b34be1cc224f1a4246b7325.jpg","text":"TemporaryFile(/tmp/multipartBody8030815186905452810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_40_48_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69af7c154c815c3fcfe045c142a679cd.jpg","text":"TemporaryFile(/tmp/multipartBody8868030944653538538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_39_58_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f44ba0aa0aec44d42ccd2679fca1e84.jpg","text":"TemporaryFile(/tmp/multipartBody8546103186161767405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_40_08_10211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7695460d544870ca951a547bc8c4e8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3467358534308792059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439463156,"filename":"image_17082025_00_38_58_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671094","file1":"1377671092","file0":"1377671090","file4":"1377671101","file5":"1377671104","file3":"1377671097"},"map_files_photo_id_array":[{"photo_id":"1377671104","filename":"file5"},{"photo_id":"1377671094","filename":"file2"},{"photo_id":"1377671101","filename":"file4"},{"photo_id":"1377671092","filename":"file1"},{"photo_id":"1377671090","filename":"file0"},{"photo_id":"1377671097","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671092":["hashtag1","hashtag2"]},{"1377671101":["hashtag1","hashtag2"]},{"1377671104":["hashtag1","hashtag2"]},{"1377671094":["hashtag1","hashtag2"]},{"1377671097":["hashtag1","hashtag2"]},{"1377671090":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671092, 1377671101, 1377671104, 1377671094, 1377671097, 1377671090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35106611251831 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:04:22.267871
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/40/image_17082025_00_40_58_10396.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_08_10322.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_19_10389.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_38_10374.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_58_9200.jpg', '/media/data/images/17082025/00/41/image_17082025_00_42_08_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/40/image_17082025_00_40_58_10396.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_08_10322.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_19_10389.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_38_10374.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_58_9200.jpg
/media/data/images/17082025/00/41/image_17082025_00_42_08_10450.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5532259941101074 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:04:42.275878
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/40/image_17082025_00_40_58_10396.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_08_10322.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_19_10389.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_38_10374.jpg', '/media/data/images/17082025/00/41/image_17082025_00_41_58_9200.jpg', '/media/data/images/17082025/00/41/image_17082025_00_42_08_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/40/image_17082025_00_40_58_10396.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_08_10322.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_19_10389.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_38_10374.jpg
/media/data/images/17082025/00/41/image_17082025_00_41_58_9200.jpg
/media/data/images/17082025/00/41/image_17082025_00_42_08_10450.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671135","1377671129","1377671138","1377671131","1377671142","1377671133"],"photo_ids_order":["1377671129","1377671131","1377671133","1377671135","1377671138","1377671142"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/135e4e0d5634d7728277a5e42c98a99a.jpg","text":"TemporaryFile(/tmp/multipartBody909947257482747210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_41_38_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8de463ba8cd6878846c3f781775ae13f.jpg","text":"TemporaryFile(/tmp/multipartBody7329877646083150917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_40_58_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58c4538e9b99de5e3242a159e188969d.jpg","text":"TemporaryFile(/tmp/multipartBody3731597379050324982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_41_58_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eae80d16c8f5f7d4f8b03f58f7357021.jpg","text":"TemporaryFile(/tmp/multipartBody8259577807935118588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_41_08_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a55bc868cbc14b98324060bb6b409509.jpg","text":"TemporaryFile(/tmp/multipartBody4130513092729540560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_42_08_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/607969cdd610bfbe1d62a2abd9867d41.jpg","text":"TemporaryFile(/tmp/multipartBody4541558490568896207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439543157,"filename":"image_17082025_00_41_19_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671133","file1":"1377671131","file0":"1377671129","file4":"1377671138","file5":"1377671142","file3":"1377671135"},"map_files_photo_id_array":[{"photo_id":"1377671142","filename":"file5"},{"photo_id":"1377671133","filename":"file2"},{"photo_id":"1377671138","filename":"file4"},{"photo_id":"1377671131","filename":"file1"},{"photo_id":"1377671129","filename":"file0"},{"photo_id":"1377671135","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671135":["hashtag1","hashtag2"]},{"1377671129":["hashtag1","hashtag2"]},{"1377671138":["hashtag1","hashtag2"]},{"1377671131":["hashtag1","hashtag2"]},{"1377671142":["hashtag1","hashtag2"]},{"1377671133":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671135, 1377671129, 1377671138, 1377671131, 1377671142, 1377671133)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.06625151634216 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:05:42.387836
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/42/image_17082025_00_42_19_10400.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_28_9160.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_38_10368.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_49_10403.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_58_9126.jpg', '/media/data/images/17082025/00/42/image_17082025_00_43_08_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/42/image_17082025_00_42_19_10400.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_28_9160.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_38_10368.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_49_10403.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_58_9126.jpg
/media/data/images/17082025/00/42/image_17082025_00_43_08_10417.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5505173206329346 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:06:02.976305
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/42/image_17082025_00_42_19_10400.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_28_9160.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_38_10368.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_49_10403.jpg', '/media/data/images/17082025/00/42/image_17082025_00_42_58_9126.jpg', '/media/data/images/17082025/00/42/image_17082025_00_43_08_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/42/image_17082025_00_42_19_10400.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_28_9160.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_38_10368.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_49_10403.jpg
/media/data/images/17082025/00/42/image_17082025_00_42_58_9126.jpg
/media/data/images/17082025/00/42/image_17082025_00_43_08_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671167","1377671183","1377671192","1377671186","1377671189","1377671174"],"photo_ids_order":["1377671167","1377671174","1377671183","1377671186","1377671189","1377671192"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d29d23b1da5f6080d0427cf6726cfdc1.jpg","text":"TemporaryFile(/tmp/multipartBody690706613327400976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_42_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5847bbcbea75caf142ffebcd86d0a317.jpg","text":"TemporaryFile(/tmp/multipartBody467936589120122167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_42_38_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d917579ff7c9975d58428a6532d2386.jpg","text":"TemporaryFile(/tmp/multipartBody2645896673201987442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_43_08_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66d51a48951de0dda4fd4eea93bee953.jpg","text":"TemporaryFile(/tmp/multipartBody2440403696331663286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_42_49_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6632150c20f0307e69a4691c4695a4db.jpg","text":"TemporaryFile(/tmp/multipartBody4661477605209800174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_42_58_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0810577ee0e1ea13cec595c619538982.jpg","text":"TemporaryFile(/tmp/multipartBody3734373819322741945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439623887,"filename":"image_17082025_00_42_28_9160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671183","file1":"1377671174","file0":"1377671167","file4":"1377671189","file5":"1377671192","file3":"1377671186"},"map_files_photo_id_array":[{"photo_id":"1377671192","filename":"file5"},{"photo_id":"1377671183","filename":"file2"},{"photo_id":"1377671189","filename":"file4"},{"photo_id":"1377671174","filename":"file1"},{"photo_id":"1377671167","filename":"file0"},{"photo_id":"1377671186","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671167":["hashtag1","hashtag2"]},{"1377671183":["hashtag1","hashtag2"]},{"1377671192":["hashtag1","hashtag2"]},{"1377671186":["hashtag1","hashtag2"]},{"1377671189":["hashtag1","hashtag2"]},{"1377671174":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671167, 1377671183, 1377671192, 1377671186, 1377671189, 1377671174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01482796669006 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:07:03.258722
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/43/image_17082025_00_43_19_10455.jpg', '/media/data/images/17082025/00/43/image_17082025_00_43_38_10490.jpg', '/media/data/images/17082025/00/43/image_17082025_00_43_49_10414.jpg', '/media/data/images/17082025/00/43/image_17082025_00_43_58_9376.jpg', '/media/data/images/17082025/00/44/image_17082025_00_44_08_10291.jpg', '/media/data/images/17082025/00/44/image_17082025_00_44_18_9167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/43/image_17082025_00_43_19_10455.jpg
/media/data/images/17082025/00/43/image_17082025_00_43_38_10490.jpg
/media/data/images/17082025/00/43/image_17082025_00_43_49_10414.jpg
/media/data/images/17082025/00/43/image_17082025_00_43_58_9376.jpg
/media/data/images/17082025/00/44/image_17082025_00_44_08_10291.jpg
/media/data/images/17082025/00/44/image_17082025_00_44_18_9167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671207","1377671224","1377671221","1377671215","1377671218","1377671205"],"photo_ids_order":["1377671205","1377671207","1377671215","1377671218","1377671221","1377671224"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/073bfdaed701b96f5e47d79340dc24c4.jpg","text":"TemporaryFile(/tmp/multipartBody69418559774733897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_43_38_10490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/937b8bacc7cc71dbdaa561bf31d721d4.jpg","text":"TemporaryFile(/tmp/multipartBody686594817118588289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_44_18_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/280eb2287de36a31f0236e60256d3c53.jpg","text":"TemporaryFile(/tmp/multipartBody3713447465741269342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_44_08_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f2ce218d02dbd7630b2a2400ccea0a79.jpg","text":"TemporaryFile(/tmp/multipartBody1598379375435448464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_43_49_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e3639c99933f67c31827d5bca49c828.jpg","text":"TemporaryFile(/tmp/multipartBody8946725099244075780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_43_58_9376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae534526e50d576e319cc3b95b106213.jpg","text":"TemporaryFile(/tmp/multipartBody3648998569271850221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439684256,"filename":"image_17082025_00_43_19_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671215","file1":"1377671207","file0":"1377671205","file4":"1377671221","file5":"1377671224","file3":"1377671218"},"map_files_photo_id_array":[{"photo_id":"1377671224","filename":"file5"},{"photo_id":"1377671215","filename":"file2"},{"photo_id":"1377671221","filename":"file4"},{"photo_id":"1377671207","filename":"file1"},{"photo_id":"1377671205","filename":"file0"},{"photo_id":"1377671218","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671207":["hashtag1","hashtag2"]},{"1377671224":["hashtag1","hashtag2"]},{"1377671221":["hashtag1","hashtag2"]},{"1377671215":["hashtag1","hashtag2"]},{"1377671218":["hashtag1","hashtag2"]},{"1377671205":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671207, 1377671224, 1377671221, 1377671215, 1377671218, 1377671205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52199196815491 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:08:03.276770
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/44/image_17082025_00_44_28_10470.jpg', '/media/data/images/17082025/00/44/image_17082025_00_44_48_9135.jpg', '/media/data/images/17082025/00/44/image_17082025_00_44_58_10403.jpg', '/media/data/images/17082025/00/44/image_17082025_00_45_09_10528.jpg', '/media/data/images/17082025/00/45/image_17082025_00_45_18_9131.jpg', '/media/data/images/17082025/00/45/image_17082025_00_45_28_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/44/image_17082025_00_44_28_10470.jpg
/media/data/images/17082025/00/44/image_17082025_00_44_48_9135.jpg
/media/data/images/17082025/00/44/image_17082025_00_44_58_10403.jpg
/media/data/images/17082025/00/44/image_17082025_00_45_09_10528.jpg
/media/data/images/17082025/00/45/image_17082025_00_45_18_9131.jpg
/media/data/images/17082025/00/45/image_17082025_00_45_28_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671242","1377671248","1377671229","1377671244","1377671238","1377671252"],"photo_ids_order":["1377671229","1377671238","1377671242","1377671244","1377671248","1377671252"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24a8ec8d3bb19244e59d18527bd2b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2980442141987572033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_44_58_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/014da4268a312727c221f2e59f577597.jpg","text":"TemporaryFile(/tmp/multipartBody952792055294126694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_45_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c9cd4d5f6af6d9c92fc6029848f326b.jpg","text":"TemporaryFile(/tmp/multipartBody7382987044684381059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_44_28_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/741aff42a74c05766fceff0db19d18a6.jpg","text":"TemporaryFile(/tmp/multipartBody1368362357442332443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_45_09_10528.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/716a3d34b47eb085f5acc12b95296e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4633036230266038385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_44_48_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a071a57b7cc848b617349d69cfe4e42.jpg","text":"TemporaryFile(/tmp/multipartBody8511597883874178574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439744263,"filename":"image_17082025_00_45_28_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671242","file1":"1377671238","file0":"1377671229","file4":"1377671248","file5":"1377671252","file3":"1377671244"},"map_files_photo_id_array":[{"photo_id":"1377671252","filename":"file5"},{"photo_id":"1377671242","filename":"file2"},{"photo_id":"1377671248","filename":"file4"},{"photo_id":"1377671238","filename":"file1"},{"photo_id":"1377671229","filename":"file0"},{"photo_id":"1377671244","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671242":["hashtag1","hashtag2"]},{"1377671248":["hashtag1","hashtag2"]},{"1377671229":["hashtag1","hashtag2"]},{"1377671244":["hashtag1","hashtag2"]},{"1377671238":["hashtag1","hashtag2"]},{"1377671252":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671242, 1377671248, 1377671229, 1377671244, 1377671238, 1377671252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.273364305496216 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:09:02.593568
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/45/image_17082025_00_45_39_10415.jpg', '/media/data/images/17082025/00/45/image_17082025_00_45_48_9274.jpg', '/media/data/images/17082025/00/45/image_17082025_00_45_58_10351.jpg', '/media/data/images/17082025/00/46/image_17082025_00_46_19_10369.jpg', '/media/data/images/17082025/00/46/image_17082025_00_46_28_9118.jpg', '/media/data/images/17082025/00/46/image_17082025_00_46_49_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/45/image_17082025_00_45_39_10415.jpg
/media/data/images/17082025/00/45/image_17082025_00_45_48_9274.jpg
/media/data/images/17082025/00/45/image_17082025_00_45_58_10351.jpg
/media/data/images/17082025/00/46/image_17082025_00_46_19_10369.jpg
/media/data/images/17082025/00/46/image_17082025_00_46_28_9118.jpg
/media/data/images/17082025/00/46/image_17082025_00_46_49_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671284","1377671266","1377671268","1377671277","1377671282","1377671279"],"photo_ids_order":["1377671266","1377671268","1377671277","1377671279","1377671282","1377671284"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d123d5c78941a75251c7277a189a8dab.jpg","text":"TemporaryFile(/tmp/multipartBody2072658196892672274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_46_49_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f3b0c1d17ced189acdbd060b35c92e01.jpg","text":"TemporaryFile(/tmp/multipartBody3566654209247733858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_45_39_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60426053c2f49a7d2fff1d9c937d0537.jpg","text":"TemporaryFile(/tmp/multipartBody3297976977357067860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_45_48_9274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e405797d75c787173f1d2ccfbe2ed537.jpg","text":"TemporaryFile(/tmp/multipartBody3455961973950853572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_45_58_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12a3cdfd20dcb8634e5f78c2453db0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5860620282177750369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_46_28_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf0632a69cbcecc6d748711bd9fad3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5208695134780806493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439803549,"filename":"image_17082025_00_46_19_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671277","file1":"1377671268","file0":"1377671266","file4":"1377671282","file5":"1377671284","file3":"1377671279"},"map_files_photo_id_array":[{"photo_id":"1377671284","filename":"file5"},{"photo_id":"1377671277","filename":"file2"},{"photo_id":"1377671282","filename":"file4"},{"photo_id":"1377671268","filename":"file1"},{"photo_id":"1377671266","filename":"file0"},{"photo_id":"1377671279","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671284":["hashtag1","hashtag2"]},{"1377671266":["hashtag1","hashtag2"]},{"1377671268":["hashtag1","hashtag2"]},{"1377671277":["hashtag1","hashtag2"]},{"1377671282":["hashtag1","hashtag2"]},{"1377671279":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671284, 1377671266, 1377671268, 1377671277, 1377671282, 1377671279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28070688247681 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:10:02.334815
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/46/image_17082025_00_46_58_9226.jpg', '/media/data/images/17082025/00/46/image_17082025_00_47_08_10494.jpg', '/media/data/images/17082025/00/47/image_17082025_00_47_19_10359.jpg', '/media/data/images/17082025/00/47/image_17082025_00_47_28_9191.jpg', '/media/data/images/17082025/00/47/image_17082025_00_47_38_10430.jpg', '/media/data/images/17082025/00/47/image_17082025_00_47_49_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/46/image_17082025_00_46_58_9226.jpg
/media/data/images/17082025/00/46/image_17082025_00_47_08_10494.jpg
/media/data/images/17082025/00/47/image_17082025_00_47_19_10359.jpg
/media/data/images/17082025/00/47/image_17082025_00_47_28_9191.jpg
/media/data/images/17082025/00/47/image_17082025_00_47_38_10430.jpg
/media/data/images/17082025/00/47/image_17082025_00_47_49_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671309","1377671299","1377671306","1377671317","1377671298","1377671313"],"photo_ids_order":["1377671298","1377671299","1377671306","1377671309","1377671313","1377671317"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd3e6ac645a9529fd8ce4c7c8a904fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6990043233639757876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_47_28_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/584e1a0233e93c1172f7310ffcb9cb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7678266795555323312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_47_08_10494.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88804cd2a8b89a1b1b116790c13e022f.jpg","text":"TemporaryFile(/tmp/multipartBody3951743645769107077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_47_19_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/62f9603ad08c233b49084ff996af343e.jpg","text":"TemporaryFile(/tmp/multipartBody415401115909698295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_47_49_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1dc3f6788885c64f751e7208f5119241.jpg","text":"TemporaryFile(/tmp/multipartBody6854331354213355969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_46_58_9226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e936c51ce978758089a41c1a4365cfb8.jpg","text":"TemporaryFile(/tmp/multipartBody3415325628614941224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439863308,"filename":"image_17082025_00_47_38_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671306","file1":"1377671299","file0":"1377671298","file4":"1377671313","file5":"1377671317","file3":"1377671309"},"map_files_photo_id_array":[{"photo_id":"1377671317","filename":"file5"},{"photo_id":"1377671306","filename":"file2"},{"photo_id":"1377671313","filename":"file4"},{"photo_id":"1377671299","filename":"file1"},{"photo_id":"1377671298","filename":"file0"},{"photo_id":"1377671309","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671309":["hashtag1","hashtag2"]},{"1377671299":["hashtag1","hashtag2"]},{"1377671306":["hashtag1","hashtag2"]},{"1377671317":["hashtag1","hashtag2"]},{"1377671298":["hashtag1","hashtag2"]},{"1377671313":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671309, 1377671299, 1377671306, 1377671317, 1377671298, 1377671313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72186303138733 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:11:02.501937
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/47/image_17082025_00_48_08_10581.jpg', '/media/data/images/17082025/00/48/image_17082025_00_48_28_10357.jpg', '/media/data/images/17082025/00/48/image_17082025_00_48_49_10351.jpg', '/media/data/images/17082025/00/48/image_17082025_00_48_58_9123.jpg', '/media/data/images/17082025/00/48/image_17082025_00_49_08_10463.jpg', '/media/data/images/17082025/00/49/image_17082025_00_49_39_10608.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/47/image_17082025_00_48_08_10581.jpg
/media/data/images/17082025/00/48/image_17082025_00_48_28_10357.jpg
/media/data/images/17082025/00/48/image_17082025_00_48_49_10351.jpg
/media/data/images/17082025/00/48/image_17082025_00_48_58_9123.jpg
/media/data/images/17082025/00/48/image_17082025_00_49_08_10463.jpg
/media/data/images/17082025/00/49/image_17082025_00_49_39_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671344","1377671338","1377671347","1377671340","1377671328","1377671330"],"photo_ids_order":["1377671328","1377671330","1377671338","1377671340","1377671344","1377671347"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ce505e256a75e8fe859793997bc8009e.jpg","text":"TemporaryFile(/tmp/multipartBody1115314030135226893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_49_08_10463.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8750cf5d191872fcbc3ff5d1ac14a60.jpg","text":"TemporaryFile(/tmp/multipartBody1412066883220830115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_48_49_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ab9fc815e142d7545c606bef74a6afd.jpg","text":"TemporaryFile(/tmp/multipartBody1010794460185657861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_49_39_10608.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c4a44b6891f661b29436fbb4dc56acf6.jpg","text":"TemporaryFile(/tmp/multipartBody3286764416532639183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_48_58_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a869a80a5ca96819dae19387d6fe3b93.jpg","text":"TemporaryFile(/tmp/multipartBody9596108696566319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_48_08_10581.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd25687d35828b3c0a7121cb4ac534a3.jpg","text":"TemporaryFile(/tmp/multipartBody5690272247602917050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439923511,"filename":"image_17082025_00_48_28_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671338","file1":"1377671330","file0":"1377671328","file4":"1377671344","file5":"1377671347","file3":"1377671340"},"map_files_photo_id_array":[{"photo_id":"1377671347","filename":"file5"},{"photo_id":"1377671338","filename":"file2"},{"photo_id":"1377671344","filename":"file4"},{"photo_id":"1377671330","filename":"file1"},{"photo_id":"1377671328","filename":"file0"},{"photo_id":"1377671340","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671344":["hashtag1","hashtag2"]},{"1377671338":["hashtag1","hashtag2"]},{"1377671347":["hashtag1","hashtag2"]},{"1377671340":["hashtag1","hashtag2"]},{"1377671328":["hashtag1","hashtag2"]},{"1377671330":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671344, 1377671338, 1377671347, 1377671340, 1377671328, 1377671330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52711820602417 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:12:02.458266
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/49/image_17082025_00_49_48_9211.jpg', '/media/data/images/17082025/00/49/image_17082025_00_49_58_10424.jpg', '/media/data/images/17082025/00/50/image_17082025_00_50_08_9289.jpg', '/media/data/images/17082025/00/50/image_17082025_00_50_18_10378.jpg', '/media/data/images/17082025/00/50/image_17082025_00_50_28_10413.jpg', '/media/data/images/17082025/00/50/image_17082025_00_50_39_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/49/image_17082025_00_49_48_9211.jpg
/media/data/images/17082025/00/49/image_17082025_00_49_58_10424.jpg
/media/data/images/17082025/00/50/image_17082025_00_50_08_9289.jpg
/media/data/images/17082025/00/50/image_17082025_00_50_18_10378.jpg
/media/data/images/17082025/00/50/image_17082025_00_50_28_10413.jpg
/media/data/images/17082025/00/50/image_17082025_00_50_39_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671371","1377671374","1377671361","1377671358","1377671381","1377671378"],"photo_ids_order":["1377671358","1377671361","1377671371","1377671374","1377671378","1377671381"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/27c7e035f48ce436e7e9f5320b6b8674.jpg","text":"TemporaryFile(/tmp/multipartBody5933959920834271364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_50_08_9289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9505118943b0c8a0fefd5d078542f27f.jpg","text":"TemporaryFile(/tmp/multipartBody1015931748208169706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_50_18_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca1b90f19c06b8e56aa626085dd58af3.jpg","text":"TemporaryFile(/tmp/multipartBody5060381989755800556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_49_58_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc5b30453b22aee5475d28749184b8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4807747074154852798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_49_48_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57156fff71c7607cc93c7dde366eda0f.jpg","text":"TemporaryFile(/tmp/multipartBody8524669958937171144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_50_39_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09224d380b9ee890f04c74814ba14c67.jpg","text":"TemporaryFile(/tmp/multipartBody6969382391487599436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439983437,"filename":"image_17082025_00_50_28_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671371","file1":"1377671361","file0":"1377671358","file4":"1377671378","file5":"1377671381","file3":"1377671374"},"map_files_photo_id_array":[{"photo_id":"1377671381","filename":"file5"},{"photo_id":"1377671371","filename":"file2"},{"photo_id":"1377671378","filename":"file4"},{"photo_id":"1377671361","filename":"file1"},{"photo_id":"1377671358","filename":"file0"},{"photo_id":"1377671374","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671371":["hashtag1","hashtag2"]},{"1377671374":["hashtag1","hashtag2"]},{"1377671361":["hashtag1","hashtag2"]},{"1377671358":["hashtag1","hashtag2"]},{"1377671381":["hashtag1","hashtag2"]},{"1377671378":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671371, 1377671374, 1377671361, 1377671358, 1377671381, 1377671378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19997763633728 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:13:02.868788
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/50/image_17082025_00_50_48_9146.jpg', '/media/data/images/17082025/00/50/image_17082025_00_50_58_10489.jpg', '/media/data/images/17082025/00/51/image_17082025_00_51_09_10332.jpg', '/media/data/images/17082025/00/51/image_17082025_00_51_18_9215.jpg', '/media/data/images/17082025/00/51/image_17082025_00_51_28_10350.jpg', '/media/data/images/17082025/00/51/image_17082025_00_51_39_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/50/image_17082025_00_50_48_9146.jpg
/media/data/images/17082025/00/50/image_17082025_00_50_58_10489.jpg
/media/data/images/17082025/00/51/image_17082025_00_51_09_10332.jpg
/media/data/images/17082025/00/51/image_17082025_00_51_18_9215.jpg
/media/data/images/17082025/00/51/image_17082025_00_51_28_10350.jpg
/media/data/images/17082025/00/51/image_17082025_00_51_39_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671392","1377671405","1377671416","1377671410","1377671413","1377671401"],"photo_ids_order":["1377671392","1377671401","1377671405","1377671410","1377671413","1377671416"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3f3362430e2b528ccfa104c7d6746a7.jpg","text":"TemporaryFile(/tmp/multipartBody3959472155697759992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_50_48_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83ef8411cb0a7a76ad615e69ac91b348.jpg","text":"TemporaryFile(/tmp/multipartBody7202555073206174570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_51_09_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08d0853d0f032ac4278d40122bb9e3cc.jpg","text":"TemporaryFile(/tmp/multipartBody1454435395535898572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_51_39_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c12d3efab6b67152c527dad122e61b1.jpg","text":"TemporaryFile(/tmp/multipartBody6725873938932760190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_51_18_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b4954b456703132843f2c926d667c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2986287618107345875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_51_28_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22a0727b33eb797472042fc72b474133.jpg","text":"TemporaryFile(/tmp/multipartBody371075574242396404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440046611,"filename":"image_17082025_00_50_58_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671405","file1":"1377671401","file0":"1377671392","file4":"1377671413","file5":"1377671416","file3":"1377671410"},"map_files_photo_id_array":[{"photo_id":"1377671416","filename":"file5"},{"photo_id":"1377671405","filename":"file2"},{"photo_id":"1377671413","filename":"file4"},{"photo_id":"1377671401","filename":"file1"},{"photo_id":"1377671392","filename":"file0"},{"photo_id":"1377671410","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671392":["hashtag1","hashtag2"]},{"1377671405":["hashtag1","hashtag2"]},{"1377671416":["hashtag1","hashtag2"]},{"1377671410":["hashtag1","hashtag2"]},{"1377671413":["hashtag1","hashtag2"]},{"1377671401":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671392, 1377671405, 1377671416, 1377671410, 1377671413, 1377671401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74576735496521 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:14:02.971606
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/51/image_17082025_00_51_58_10359.jpg', '/media/data/images/17082025/00/52/image_17082025_00_52_09_10296.jpg', '/media/data/images/17082025/00/52/image_17082025_00_52_28_10439.jpg', '/media/data/images/17082025/00/52/image_17082025_00_52_39_10350.jpg', '/media/data/images/17082025/00/52/image_17082025_00_52_48_9122.jpg', '/media/data/images/17082025/00/52/image_17082025_00_52_58_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/51/image_17082025_00_51_58_10359.jpg
/media/data/images/17082025/00/52/image_17082025_00_52_09_10296.jpg
/media/data/images/17082025/00/52/image_17082025_00_52_28_10439.jpg
/media/data/images/17082025/00/52/image_17082025_00_52_39_10350.jpg
/media/data/images/17082025/00/52/image_17082025_00_52_48_9122.jpg
/media/data/images/17082025/00/52/image_17082025_00_52_58_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671441","1377671423","1377671446","1377671436","1377671430","1377671450"],"photo_ids_order":["1377671423","1377671430","1377671436","1377671441","1377671446","1377671450"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71414cccf48815177ac37960b76834fc.jpg","text":"TemporaryFile(/tmp/multipartBody5458482820565843199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_52_39_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d903bdd8f342f5f70ffe097cf79e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody2848181886998639585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_51_58_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dececcd2c7d4c71fb36111a32eb5048f.jpg","text":"TemporaryFile(/tmp/multipartBody8586567996123594703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_52_48_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b3fde1160faa56a9b2743b139d08482.jpg","text":"TemporaryFile(/tmp/multipartBody6254396431647212912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_52_28_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1e094418de9f6044e1b433ff7547cff.jpg","text":"TemporaryFile(/tmp/multipartBody8263494648503098962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_52_09_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69170b07b71a818cf7d34e0b830e6819.jpg","text":"TemporaryFile(/tmp/multipartBody697131829466702959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440103941,"filename":"image_17082025_00_52_58_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671436","file1":"1377671430","file0":"1377671423","file4":"1377671446","file5":"1377671450","file3":"1377671441"},"map_files_photo_id_array":[{"photo_id":"1377671450","filename":"file5"},{"photo_id":"1377671436","filename":"file2"},{"photo_id":"1377671446","filename":"file4"},{"photo_id":"1377671430","filename":"file1"},{"photo_id":"1377671423","filename":"file0"},{"photo_id":"1377671441","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671441":["hashtag1","hashtag2"]},{"1377671423":["hashtag1","hashtag2"]},{"1377671446":["hashtag1","hashtag2"]},{"1377671436":["hashtag1","hashtag2"]},{"1377671430":["hashtag1","hashtag2"]},{"1377671450":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671441, 1377671423, 1377671446, 1377671436, 1377671430, 1377671450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91962456703186 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:15:03.122535
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/53/image_17082025_00_53_28_9114.jpg', '/media/data/images/17082025/00/53/image_17082025_00_53_58_9264.jpg', '/media/data/images/17082025/00/53/image_17082025_00_54_08_10440.jpg', '/media/data/images/17082025/00/54/image_17082025_00_54_19_10377.jpg', '/media/data/images/17082025/00/54/image_17082025_00_54_28_9162.jpg', '/media/data/images/17082025/00/54/image_17082025_00_54_39_10740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/53/image_17082025_00_53_28_9114.jpg
/media/data/images/17082025/00/53/image_17082025_00_53_58_9264.jpg
/media/data/images/17082025/00/53/image_17082025_00_54_08_10440.jpg
/media/data/images/17082025/00/54/image_17082025_00_54_19_10377.jpg
/media/data/images/17082025/00/54/image_17082025_00_54_28_9162.jpg
/media/data/images/17082025/00/54/image_17082025_00_54_39_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671473","1377671458","1377671475","1377671477","1377671462","1377671471"],"photo_ids_order":["1377671458","1377671462","1377671471","1377671473","1377671475","1377671477"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d7ed6a9ecf1f6ba0939f3cb90f751d4.jpg","text":"TemporaryFile(/tmp/multipartBody7921666267388859192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_54_19_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0678538cce524d016af51058c5ff1f9.jpg","text":"TemporaryFile(/tmp/multipartBody2410422584502870000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_53_28_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e6b7392d8c11f8c5c1c7162189ed20e.jpg","text":"TemporaryFile(/tmp/multipartBody2268887655016506379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_54_28_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf7625414ceafc299794c127740e9c50.jpg","text":"TemporaryFile(/tmp/multipartBody7760035000913343888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_54_39_10740.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f2a7bbc63a796ef73272826401f5b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody1883877946685412426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_53_58_9264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88c37a9728485113bf226cdb84562789.jpg","text":"TemporaryFile(/tmp/multipartBody2669567910263339342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440164084,"filename":"image_17082025_00_54_08_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671471","file1":"1377671462","file0":"1377671458","file4":"1377671475","file5":"1377671477","file3":"1377671473"},"map_files_photo_id_array":[{"photo_id":"1377671477","filename":"file5"},{"photo_id":"1377671471","filename":"file2"},{"photo_id":"1377671475","filename":"file4"},{"photo_id":"1377671462","filename":"file1"},{"photo_id":"1377671458","filename":"file0"},{"photo_id":"1377671473","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671473":["hashtag1","hashtag2"]},{"1377671458":["hashtag1","hashtag2"]},{"1377671475":["hashtag1","hashtag2"]},{"1377671477":["hashtag1","hashtag2"]},{"1377671462":["hashtag1","hashtag2"]},{"1377671471":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671473, 1377671458, 1377671475, 1377671477, 1377671462, 1377671471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37309122085571 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:16:03.116433
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/54/image_17082025_00_54_58_10372.jpg', '/media/data/images/17082025/00/55/image_17082025_00_55_08_10264.jpg', '/media/data/images/17082025/00/55/image_17082025_00_55_28_9183.jpg', '/media/data/images/17082025/00/55/image_17082025_00_55_38_10419.jpg', '/media/data/images/17082025/00/55/image_17082025_00_55_58_9277.jpg', '/media/data/images/17082025/00/56/image_17082025_00_56_08_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/54/image_17082025_00_54_58_10372.jpg
/media/data/images/17082025/00/55/image_17082025_00_55_08_10264.jpg
/media/data/images/17082025/00/55/image_17082025_00_55_28_9183.jpg
/media/data/images/17082025/00/55/image_17082025_00_55_38_10419.jpg
/media/data/images/17082025/00/55/image_17082025_00_55_58_9277.jpg
/media/data/images/17082025/00/56/image_17082025_00_56_08_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671501","1377671504","1377671515","1377671509","1377671492","1377671489"],"photo_ids_order":["1377671489","1377671492","1377671501","1377671504","1377671509","1377671515"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c27626d785e71293c7cf1caf421312b2.jpg","text":"TemporaryFile(/tmp/multipartBody6204680197857003065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_55_28_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7424a1119ff49209b5ca0cc3a0c854c.jpg","text":"TemporaryFile(/tmp/multipartBody3086873089060282982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_55_38_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2cc8a246051ad321dcfed47a6842449c.jpg","text":"TemporaryFile(/tmp/multipartBody6652366898300279905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_56_08_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d37a2370a58eb3e330899f45a5716d6.jpg","text":"TemporaryFile(/tmp/multipartBody2898637879987301877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_55_58_9277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b76a091214be00c8b61a0f1bc813d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2819002668042958452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_55_08_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49c00d69f19ca04da2ecb61cee6965eb.jpg","text":"TemporaryFile(/tmp/multipartBody3044802958985098843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440224062,"filename":"image_17082025_00_54_58_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671501","file1":"1377671492","file0":"1377671489","file4":"1377671509","file5":"1377671515","file3":"1377671504"},"map_files_photo_id_array":[{"photo_id":"1377671515","filename":"file5"},{"photo_id":"1377671501","filename":"file2"},{"photo_id":"1377671509","filename":"file4"},{"photo_id":"1377671492","filename":"file1"},{"photo_id":"1377671489","filename":"file0"},{"photo_id":"1377671504","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671501":["hashtag1","hashtag2"]},{"1377671504":["hashtag1","hashtag2"]},{"1377671515":["hashtag1","hashtag2"]},{"1377671509":["hashtag1","hashtag2"]},{"1377671492":["hashtag1","hashtag2"]},{"1377671489":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671501, 1377671504, 1377671515, 1377671509, 1377671492, 1377671489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64712166786194 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:16:42.620132
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/56/image_17082025_00_56_18_9309.jpg', '/media/data/images/17082025/00/56/image_17082025_00_56_28_10365.jpg', '/media/data/images/17082025/00/56/image_17082025_00_56_39_10429.jpg', '/media/data/images/17082025/00/56/image_17082025_00_56_58_10368.jpg', '/media/data/images/17082025/00/57/image_17082025_00_57_08_10401.jpg', '/media/data/images/17082025/00/57/image_17082025_00_57_28_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/56/image_17082025_00_56_18_9309.jpg
/media/data/images/17082025/00/56/image_17082025_00_56_28_10365.jpg
/media/data/images/17082025/00/56/image_17082025_00_56_39_10429.jpg
/media/data/images/17082025/00/56/image_17082025_00_56_58_10368.jpg
/media/data/images/17082025/00/57/image_17082025_00_57_08_10401.jpg
/media/data/images/17082025/00/57/image_17082025_00_57_28_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671525","1377671527","1377671526","1377671535","1377671529","1377671523"],"photo_ids_order":["1377671523","1377671525","1377671526","1377671527","1377671529","1377671535"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01b1c1f7f99e40e613f52a4a8bbc419f.jpg","text":"TemporaryFile(/tmp/multipartBody8437690001124433489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_56_28_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ccb2347bbdeda8299e6889acd3a0c1f.jpg","text":"TemporaryFile(/tmp/multipartBody939666477221018339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_56_58_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c102d0f5257ccde526e6e6ba494ba376.jpg","text":"TemporaryFile(/tmp/multipartBody5283116266808200904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_56_39_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9130f4222684058b2b9624865528663b.jpg","text":"TemporaryFile(/tmp/multipartBody4580757940131782099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_57_28_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/691227821e912287e07e6829fedc3e81.jpg","text":"TemporaryFile(/tmp/multipartBody6110486576969211459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_57_08_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2afcfbd547059cad49a12044cf702e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2227043958211689638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440263586,"filename":"image_17082025_00_56_18_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671526","file1":"1377671525","file0":"1377671523","file4":"1377671529","file5":"1377671535","file3":"1377671527"},"map_files_photo_id_array":[{"photo_id":"1377671535","filename":"file5"},{"photo_id":"1377671526","filename":"file2"},{"photo_id":"1377671529","filename":"file4"},{"photo_id":"1377671525","filename":"file1"},{"photo_id":"1377671523","filename":"file0"},{"photo_id":"1377671527","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671525":["hashtag1","hashtag2"]},{"1377671527":["hashtag1","hashtag2"]},{"1377671526":["hashtag1","hashtag2"]},{"1377671535":["hashtag1","hashtag2"]},{"1377671529":["hashtag1","hashtag2"]},{"1377671523":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671525, 1377671527, 1377671526, 1377671535, 1377671529, 1377671523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84194326400757 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:17:42.714502
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/57/image_17082025_00_57_38_10408.jpg', '/media/data/images/17082025/00/57/image_17082025_00_57_48_9174.jpg', '/media/data/images/17082025/00/57/image_17082025_00_57_58_10352.jpg', '/media/data/images/17082025/00/57/image_17082025_00_58_09_10740.jpg', '/media/data/images/17082025/00/58/image_17082025_00_58_18_9312.jpg', '/media/data/images/17082025/00/58/image_17082025_00_58_28_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/57/image_17082025_00_57_38_10408.jpg
/media/data/images/17082025/00/57/image_17082025_00_57_48_9174.jpg
/media/data/images/17082025/00/57/image_17082025_00_57_58_10352.jpg
/media/data/images/17082025/00/57/image_17082025_00_58_09_10740.jpg
/media/data/images/17082025/00/58/image_17082025_00_58_18_9312.jpg
/media/data/images/17082025/00/58/image_17082025_00_58_28_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671552","1377671554","1377671563","1377671559","1377671556","1377671570"],"photo_ids_order":["1377671552","1377671554","1377671556","1377671559","1377671563","1377671570"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8061386a847541a887e2b5e5856068a.jpg","text":"TemporaryFile(/tmp/multipartBody3322409430643895604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_57_38_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68ae6ba0f858290b6c78588ec348ba03.jpg","text":"TemporaryFile(/tmp/multipartBody6534804061411251111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_57_48_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd8b5681bc5d4680aa4134f90da21441.jpg","text":"TemporaryFile(/tmp/multipartBody4636111727946443312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_58_18_9312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aec8a549daf3eb893d9692495427d234.jpg","text":"TemporaryFile(/tmp/multipartBody4628463094477725293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_58_09_10740.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f2f9da8612abec5ecaee662caf189f4.jpg","text":"TemporaryFile(/tmp/multipartBody967036563074892784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_57_58_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08616a67e13e0066c4f3d8ed0035b639.jpg","text":"TemporaryFile(/tmp/multipartBody38739054872997950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440323668,"filename":"image_17082025_00_58_28_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671556","file1":"1377671554","file0":"1377671552","file4":"1377671563","file5":"1377671570","file3":"1377671559"},"map_files_photo_id_array":[{"photo_id":"1377671570","filename":"file5"},{"photo_id":"1377671556","filename":"file2"},{"photo_id":"1377671563","filename":"file4"},{"photo_id":"1377671554","filename":"file1"},{"photo_id":"1377671552","filename":"file0"},{"photo_id":"1377671559","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671552":["hashtag1","hashtag2"]},{"1377671554":["hashtag1","hashtag2"]},{"1377671563":["hashtag1","hashtag2"]},{"1377671559":["hashtag1","hashtag2"]},{"1377671556":["hashtag1","hashtag2"]},{"1377671570":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671552, 1377671554, 1377671563, 1377671559, 1377671556, 1377671570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7412269115448 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:18:41.813327
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/58/image_17082025_00_58_39_10350.jpg', '/media/data/images/17082025/00/58/image_17082025_00_58_48_9120.jpg', '/media/data/images/17082025/00/58/image_17082025_00_58_58_10358.jpg', '/media/data/images/17082025/00/59/image_17082025_00_59_09_10422.jpg', '/media/data/images/17082025/00/59/image_17082025_00_59_18_9139.jpg', '/media/data/images/17082025/00/59/image_17082025_00_59_39_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/58/image_17082025_00_58_39_10350.jpg
/media/data/images/17082025/00/58/image_17082025_00_58_48_9120.jpg
/media/data/images/17082025/00/58/image_17082025_00_58_58_10358.jpg
/media/data/images/17082025/00/59/image_17082025_00_59_09_10422.jpg
/media/data/images/17082025/00/59/image_17082025_00_59_18_9139.jpg
/media/data/images/17082025/00/59/image_17082025_00_59_39_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671590","1377671584","1377671593","1377671587","1377671598","1377671592"],"photo_ids_order":["1377671584","1377671587","1377671590","1377671592","1377671593","1377671598"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32d8c2855f8ee255e4eb6e5d531fcb8f.jpg","text":"TemporaryFile(/tmp/multipartBody6862451056026096891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_58_58_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c8a290fecff51977fc6ff3acdbca68e1.jpg","text":"TemporaryFile(/tmp/multipartBody2444306017528850350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_58_39_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba10d17ea3cafef4a3deaa4989f5d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5203369356871144989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_59_18_9139.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4eac01dbd6afbcf162ec4f495be5ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody1248828839431827922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_58_48_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89e06603e7f278ea950de3e559ead6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3426079837752884514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_59_39_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/63346a730479849641d48aa502729414.jpg","text":"TemporaryFile(/tmp/multipartBody6926038097445043855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440382784,"filename":"image_17082025_00_59_09_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671590","file1":"1377671587","file0":"1377671584","file4":"1377671593","file5":"1377671598","file3":"1377671592"},"map_files_photo_id_array":[{"photo_id":"1377671598","filename":"file5"},{"photo_id":"1377671590","filename":"file2"},{"photo_id":"1377671593","filename":"file4"},{"photo_id":"1377671587","filename":"file1"},{"photo_id":"1377671584","filename":"file0"},{"photo_id":"1377671592","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671590":["hashtag1","hashtag2"]},{"1377671584":["hashtag1","hashtag2"]},{"1377671593":["hashtag1","hashtag2"]},{"1377671587":["hashtag1","hashtag2"]},{"1377671598":["hashtag1","hashtag2"]},{"1377671592":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671590, 1377671584, 1377671593, 1377671587, 1377671598, 1377671592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87526559829712 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:19:41.951307
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/00/59/image_17082025_00_59_58_10423.jpg', '/media/data/images/17082025/01/00/image_17082025_01_00_09_10604.jpg', '/media/data/images/17082025/01/00/image_17082025_01_00_28_10359.jpg', '/media/data/images/17082025/01/00/image_17082025_01_00_38_9183.jpg', '/media/data/images/17082025/01/00/image_17082025_01_00_59_10496.jpg', '/media/data/images/17082025/01/01/image_17082025_01_01_18_10550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/00/59/image_17082025_00_59_58_10423.jpg
/media/data/images/17082025/01/00/image_17082025_01_00_09_10604.jpg
/media/data/images/17082025/01/00/image_17082025_01_00_28_10359.jpg
/media/data/images/17082025/01/00/image_17082025_01_00_38_9183.jpg
/media/data/images/17082025/01/00/image_17082025_01_00_59_10496.jpg
/media/data/images/17082025/01/01/image_17082025_01_01_18_10550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671624","1377671627","1377671620","1377671614","1377671617","1377671625"],"photo_ids_order":["1377671614","1377671617","1377671620","1377671624","1377671625","1377671627"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8473d9638a75940b59b91659c8da2dba.jpg","text":"TemporaryFile(/tmp/multipartBody8176099728138659729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_01_00_38_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/edadfb01cace361d2fd095787c00668d.jpg","text":"TemporaryFile(/tmp/multipartBody2532173067039598919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_01_01_18_10550.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/64a9b8aedaba87c9c82a067deb6d2c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1805862553256765783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_01_00_28_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03fcbe534cb003b198c25b2188f5ced9.jpg","text":"TemporaryFile(/tmp/multipartBody1482661929100735295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_00_59_58_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/873bf50beb9e73f5000810619a835e30.jpg","text":"TemporaryFile(/tmp/multipartBody3178380276955238035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_01_00_09_10604.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f758f8f8b23d43417e7ee5577ec3bb2.jpg","text":"TemporaryFile(/tmp/multipartBody4222558982228541639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440442902,"filename":"image_17082025_01_00_59_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671620","file1":"1377671617","file0":"1377671614","file4":"1377671625","file5":"1377671627","file3":"1377671624"},"map_files_photo_id_array":[{"photo_id":"1377671627","filename":"file5"},{"photo_id":"1377671620","filename":"file2"},{"photo_id":"1377671625","filename":"file4"},{"photo_id":"1377671617","filename":"file1"},{"photo_id":"1377671614","filename":"file0"},{"photo_id":"1377671624","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671624":["hashtag1","hashtag2"]},{"1377671627":["hashtag1","hashtag2"]},{"1377671620":["hashtag1","hashtag2"]},{"1377671614":["hashtag1","hashtag2"]},{"1377671617":["hashtag1","hashtag2"]},{"1377671625":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671624, 1377671627, 1377671620, 1377671614, 1377671617, 1377671625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95703864097595 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:20:22.063507
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/01/image_17082025_01_01_49_10480.jpg', '/media/data/images/17082025/01/01/image_17082025_01_01_58_9180.jpg', '/media/data/images/17082025/01/01/image_17082025_01_02_08_10557.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_19_10541.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_38_10382.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_49_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/01/image_17082025_01_01_49_10480.jpg
/media/data/images/17082025/01/01/image_17082025_01_01_58_9180.jpg
/media/data/images/17082025/01/01/image_17082025_01_02_08_10557.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_19_10541.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_38_10382.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_49_10382.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5408008098602295 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:20:42.025251
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/01/image_17082025_01_01_49_10480.jpg', '/media/data/images/17082025/01/01/image_17082025_01_01_58_9180.jpg', '/media/data/images/17082025/01/01/image_17082025_01_02_08_10557.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_19_10541.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_38_10382.jpg', '/media/data/images/17082025/01/02/image_17082025_01_02_49_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/01/image_17082025_01_01_49_10480.jpg
/media/data/images/17082025/01/01/image_17082025_01_01_58_9180.jpg
/media/data/images/17082025/01/01/image_17082025_01_02_08_10557.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_19_10541.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_38_10382.jpg
/media/data/images/17082025/01/02/image_17082025_01_02_49_10382.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671662","1377671656","1377671658","1377671666","1377671660","1377671654"],"photo_ids_order":["1377671654","1377671656","1377671658","1377671660","1377671662","1377671666"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3356e7afd63fcfc9789027a0f00b2194.jpg","text":"TemporaryFile(/tmp/multipartBody876235362217550685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_02_38_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68fe3a196cf2166d1a98a22aab83c7f5.jpg","text":"TemporaryFile(/tmp/multipartBody1852315485107359755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_01_58_9180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e37969b8152074b697b611005dc06db.jpg","text":"TemporaryFile(/tmp/multipartBody8584738130867995266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_02_08_10557.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d39303e2a63ac6182aff9c5ef8713ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4039966193742309569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_02_49_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b647107d17274a43ecf3183cef59b0a2.jpg","text":"TemporaryFile(/tmp/multipartBody8522440523171872028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_02_19_10541.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/503ed5fcd3a22ae057c8f7958174154f.jpg","text":"TemporaryFile(/tmp/multipartBody7818090339885298807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440502884,"filename":"image_17082025_01_01_49_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671658","file1":"1377671656","file0":"1377671654","file4":"1377671662","file5":"1377671666","file3":"1377671660"},"map_files_photo_id_array":[{"photo_id":"1377671666","filename":"file5"},{"photo_id":"1377671658","filename":"file2"},{"photo_id":"1377671662","filename":"file4"},{"photo_id":"1377671656","filename":"file1"},{"photo_id":"1377671654","filename":"file0"},{"photo_id":"1377671660","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671662":["hashtag1","hashtag2"]},{"1377671656":["hashtag1","hashtag2"]},{"1377671658":["hashtag1","hashtag2"]},{"1377671666":["hashtag1","hashtag2"]},{"1377671660":["hashtag1","hashtag2"]},{"1377671654":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671662, 1377671656, 1377671658, 1377671666, 1377671660, 1377671654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.846585273742676 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:21:22.129308
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/02/image_17082025_01_02_58_9149.jpg', '/media/data/images/17082025/01/02/image_17082025_01_03_08_10388.jpg', '/media/data/images/17082025/01/03/image_17082025_01_03_19_10485.jpg', '/media/data/images/17082025/01/03/image_17082025_01_03_38_10426.jpg', '/media/data/images/17082025/01/03/image_17082025_01_03_48_9169.jpg', '/media/data/images/17082025/01/04/image_17082025_01_04_08_10282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/02/image_17082025_01_02_58_9149.jpg
/media/data/images/17082025/01/02/image_17082025_01_03_08_10388.jpg
/media/data/images/17082025/01/03/image_17082025_01_03_19_10485.jpg
/media/data/images/17082025/01/03/image_17082025_01_03_38_10426.jpg
/media/data/images/17082025/01/03/image_17082025_01_03_48_9169.jpg
/media/data/images/17082025/01/04/image_17082025_01_04_08_10282.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671689","1377671688","1377671691","1377671685","1377671687","1377671681"],"photo_ids_order":["1377671681","1377671685","1377671687","1377671688","1377671689","1377671691"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e75cd525de0b627032fb9690cd16796.jpg","text":"TemporaryFile(/tmp/multipartBody3353293073172441926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_03_48_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13b6b10d87ba33077e51cdf43180cf02.jpg","text":"TemporaryFile(/tmp/multipartBody979737789072274635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_03_38_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6d1beb318a550e257763dbbcb3181b5.jpg","text":"TemporaryFile(/tmp/multipartBody2850516067541785655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_04_08_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b0a98454ebc2da57b8811a0729cab25.jpg","text":"TemporaryFile(/tmp/multipartBody2627890795661088988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_03_08_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f286da73fccc3a6a6aaa6b322b45d4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3293463213880025747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_03_19_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b1880109268268c0e9ebf8679792dba.jpg","text":"TemporaryFile(/tmp/multipartBody5900543548162898114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440543067,"filename":"image_17082025_01_02_58_9149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671687","file1":"1377671685","file0":"1377671681","file4":"1377671689","file5":"1377671691","file3":"1377671688"},"map_files_photo_id_array":[{"photo_id":"1377671691","filename":"file5"},{"photo_id":"1377671687","filename":"file2"},{"photo_id":"1377671689","filename":"file4"},{"photo_id":"1377671685","filename":"file1"},{"photo_id":"1377671681","filename":"file0"},{"photo_id":"1377671688","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671689":["hashtag1","hashtag2"]},{"1377671688":["hashtag1","hashtag2"]},{"1377671691":["hashtag1","hashtag2"]},{"1377671685":["hashtag1","hashtag2"]},{"1377671687":["hashtag1","hashtag2"]},{"1377671681":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671689, 1377671688, 1377671691, 1377671685, 1377671687, 1377671681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.660597801208496 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:22:22.280238
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/04/image_17082025_01_04_19_10409.jpg', '/media/data/images/17082025/01/04/image_17082025_01_04_28_9283.jpg', '/media/data/images/17082025/01/05/image_17082025_01_05_19_10363.jpg', '/media/data/images/17082025/01/05/image_17082025_01_05_28_9125.jpg', '/media/data/images/17082025/01/05/image_17082025_01_05_38_10410.jpg', '/media/data/images/17082025/01/05/image_17082025_01_05_49_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/04/image_17082025_01_04_19_10409.jpg
/media/data/images/17082025/01/04/image_17082025_01_04_28_9283.jpg
/media/data/images/17082025/01/05/image_17082025_01_05_19_10363.jpg
/media/data/images/17082025/01/05/image_17082025_01_05_28_9125.jpg
/media/data/images/17082025/01/05/image_17082025_01_05_38_10410.jpg
/media/data/images/17082025/01/05/image_17082025_01_05_49_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671723","1377671719","1377671707","1377671712","1377671715","1377671709"],"photo_ids_order":["1377671707","1377671709","1377671712","1377671715","1377671719","1377671723"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc25677ae35a7ec3a3161bbf3e4e177f.jpg","text":"TemporaryFile(/tmp/multipartBody413810671678868264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_05_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/664290be2fa265bf19a3df4d005bf847.jpg","text":"TemporaryFile(/tmp/multipartBody3939072021377584493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_05_38_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed0931be5d719e2dbfef1fb72eeb2bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7157537304950374621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_04_19_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cdca34262467f19b2c82007a08eb3d3e.jpg","text":"TemporaryFile(/tmp/multipartBody814114758896062025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_05_19_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bb49b06060f981997a937b7ea286ce9.jpg","text":"TemporaryFile(/tmp/multipartBody3575902473728330322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_05_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6ca96b0ac7bd371de1ca91609dd8fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6548973407280805404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440603238,"filename":"image_17082025_01_04_28_9283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671712","file1":"1377671709","file0":"1377671707","file4":"1377671719","file5":"1377671723","file3":"1377671715"},"map_files_photo_id_array":[{"photo_id":"1377671723","filename":"file5"},{"photo_id":"1377671712","filename":"file2"},{"photo_id":"1377671719","filename":"file4"},{"photo_id":"1377671709","filename":"file1"},{"photo_id":"1377671707","filename":"file0"},{"photo_id":"1377671715","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671723":["hashtag1","hashtag2"]},{"1377671719":["hashtag1","hashtag2"]},{"1377671707":["hashtag1","hashtag2"]},{"1377671712":["hashtag1","hashtag2"]},{"1377671715":["hashtag1","hashtag2"]},{"1377671709":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671723, 1377671719, 1377671707, 1377671712, 1377671715, 1377671709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23339629173279 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:23:03.060925
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/05/image_17082025_01_05_58_9171.jpg', '/media/data/images/17082025/01/05/image_17082025_01_06_08_10729.jpg', '/media/data/images/17082025/01/06/image_17082025_01_06_18_9184.jpg', '/media/data/images/17082025/01/06/image_17082025_01_06_28_10364.jpg', '/media/data/images/17082025/01/06/image_17082025_01_06_38_10408.jpg', '/media/data/images/17082025/01/06/image_17082025_01_06_49_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/05/image_17082025_01_05_58_9171.jpg
/media/data/images/17082025/01/05/image_17082025_01_06_08_10729.jpg
/media/data/images/17082025/01/06/image_17082025_01_06_18_9184.jpg
/media/data/images/17082025/01/06/image_17082025_01_06_28_10364.jpg
/media/data/images/17082025/01/06/image_17082025_01_06_38_10408.jpg
/media/data/images/17082025/01/06/image_17082025_01_06_49_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671744","1377671738","1377671728","1377671730","1377671747","1377671741"],"photo_ids_order":["1377671728","1377671730","1377671738","1377671741","1377671744","1377671747"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f3c0c3f08065dc46f085d436256afbc4.jpg","text":"TemporaryFile(/tmp/multipartBody7908778126285842745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_06_38_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d45259a6037ff9feb5da0eaa3b1ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody6298314929738201387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_06_18_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ce8a44c66167a64ae823a900d25f16f8.jpg","text":"TemporaryFile(/tmp/multipartBody4255102713090624806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_05_58_9171.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bfd5e77d7c153ef46db8f822fcd3c41.jpg","text":"TemporaryFile(/tmp/multipartBody1165867878005766616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_06_08_10729.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2b8f3bc83b20fcb1c5fb16fdb2c3131.jpg","text":"TemporaryFile(/tmp/multipartBody8984706220200226595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_06_49_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/732e2fdcc6691349a05bdc7e316f3a87.jpg","text":"TemporaryFile(/tmp/multipartBody6279296120352392487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440644012,"filename":"image_17082025_01_06_28_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671738","file1":"1377671730","file0":"1377671728","file4":"1377671744","file5":"1377671747","file3":"1377671741"},"map_files_photo_id_array":[{"photo_id":"1377671747","filename":"file5"},{"photo_id":"1377671738","filename":"file2"},{"photo_id":"1377671744","filename":"file4"},{"photo_id":"1377671730","filename":"file1"},{"photo_id":"1377671728","filename":"file0"},{"photo_id":"1377671741","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671744":["hashtag1","hashtag2"]},{"1377671738":["hashtag1","hashtag2"]},{"1377671728":["hashtag1","hashtag2"]},{"1377671730":["hashtag1","hashtag2"]},{"1377671747":["hashtag1","hashtag2"]},{"1377671741":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671744, 1377671738, 1377671728, 1377671730, 1377671747, 1377671741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.994794607162476 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:24:02.986148
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/06/image_17082025_01_06_58_9222.jpg', '/media/data/images/17082025/01/06/image_17082025_01_07_09_10596.jpg', '/media/data/images/17082025/01/07/image_17082025_01_07_18_9224.jpg', '/media/data/images/17082025/01/07/image_17082025_01_07_28_10360.jpg', '/media/data/images/17082025/01/07/image_17082025_01_07_39_10365.jpg', '/media/data/images/17082025/01/07/image_17082025_01_07_58_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/06/image_17082025_01_06_58_9222.jpg
/media/data/images/17082025/01/06/image_17082025_01_07_09_10596.jpg
/media/data/images/17082025/01/07/image_17082025_01_07_18_9224.jpg
/media/data/images/17082025/01/07/image_17082025_01_07_28_10360.jpg
/media/data/images/17082025/01/07/image_17082025_01_07_39_10365.jpg
/media/data/images/17082025/01/07/image_17082025_01_07_58_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671781","1377671778","1377671757","1377671771","1377671765","1377671774"],"photo_ids_order":["1377671757","1377671765","1377671771","1377671774","1377671778","1377671781"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43b5d267ff42abca5d2f0672a19147a1.jpg","text":"TemporaryFile(/tmp/multipartBody3980941253292319628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_07_58_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77a64fed31c0a988ae7af9581c1bbb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4794558990644691512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_07_39_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd53df72a974aead457586d203b966ed.jpg","text":"TemporaryFile(/tmp/multipartBody3611275618940626833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_06_58_9222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3669912062c26c4f5e9c5aaa39981d8.jpg","text":"TemporaryFile(/tmp/multipartBody7185465127873063518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_07_18_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db6a699952eef1aff63f0a645c9b8c00.jpg","text":"TemporaryFile(/tmp/multipartBody6357650683021281633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_07_09_10596.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7175466e4128c378d9177a4087802969.jpg","text":"TemporaryFile(/tmp/multipartBody5983903179521392644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440703917,"filename":"image_17082025_01_07_28_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671771","file1":"1377671765","file0":"1377671757","file4":"1377671778","file5":"1377671781","file3":"1377671774"},"map_files_photo_id_array":[{"photo_id":"1377671781","filename":"file5"},{"photo_id":"1377671771","filename":"file2"},{"photo_id":"1377671778","filename":"file4"},{"photo_id":"1377671765","filename":"file1"},{"photo_id":"1377671757","filename":"file0"},{"photo_id":"1377671774","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671781":["hashtag1","hashtag2"]},{"1377671778":["hashtag1","hashtag2"]},{"1377671757":["hashtag1","hashtag2"]},{"1377671771":["hashtag1","hashtag2"]},{"1377671765":["hashtag1","hashtag2"]},{"1377671774":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671781, 1377671778, 1377671757, 1377671771, 1377671765, 1377671774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44758915901184 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:25:03.283126
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/08/image_17082025_01_08_09_10499.jpg', '/media/data/images/17082025/01/08/image_17082025_01_08_28_10466.jpg', '/media/data/images/17082025/01/08/image_17082025_01_08_39_10400.jpg', '/media/data/images/17082025/01/08/image_17082025_01_08_48_9173.jpg', '/media/data/images/17082025/01/08/image_17082025_01_08_58_10412.jpg', '/media/data/images/17082025/01/09/image_17082025_01_09_09_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/08/image_17082025_01_08_09_10499.jpg
/media/data/images/17082025/01/08/image_17082025_01_08_28_10466.jpg
/media/data/images/17082025/01/08/image_17082025_01_08_39_10400.jpg
/media/data/images/17082025/01/08/image_17082025_01_08_48_9173.jpg
/media/data/images/17082025/01/08/image_17082025_01_08_58_10412.jpg
/media/data/images/17082025/01/09/image_17082025_01_09_09_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671801","1377671794","1377671799","1377671803","1377671805","1377671786"],"photo_ids_order":["1377671786","1377671794","1377671799","1377671801","1377671803","1377671805"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cd6413b3ada787a0acb6dbfaac66b19.jpg","text":"TemporaryFile(/tmp/multipartBody4672623776338417939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_08_48_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a5af631fe1d04462f88ca67ad811135.jpg","text":"TemporaryFile(/tmp/multipartBody7871473348891741662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_08_28_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6589301dcad4466307e3ebbad68d70f5.jpg","text":"TemporaryFile(/tmp/multipartBody6069213954900132184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_08_39_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bde2598bdee68799795bf73f0b2269f.jpg","text":"TemporaryFile(/tmp/multipartBody1214912178073438089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_08_58_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3bc38894d2cb042b9fe64b17e303f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7669883259250258013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_09_09_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8511607259e571f87400740c3d513b6.jpg","text":"TemporaryFile(/tmp/multipartBody926254725051110863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440764230,"filename":"image_17082025_01_08_09_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671799","file1":"1377671794","file0":"1377671786","file4":"1377671803","file5":"1377671805","file3":"1377671801"},"map_files_photo_id_array":[{"photo_id":"1377671805","filename":"file5"},{"photo_id":"1377671799","filename":"file2"},{"photo_id":"1377671803","filename":"file4"},{"photo_id":"1377671794","filename":"file1"},{"photo_id":"1377671786","filename":"file0"},{"photo_id":"1377671801","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671801":["hashtag1","hashtag2"]},{"1377671794":["hashtag1","hashtag2"]},{"1377671799":["hashtag1","hashtag2"]},{"1377671803":["hashtag1","hashtag2"]},{"1377671805":["hashtag1","hashtag2"]},{"1377671786":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671801, 1377671794, 1377671799, 1377671803, 1377671805, 1377671786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52033853530884 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:26:03.179287
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/09/image_17082025_01_09_18_9187.jpg', '/media/data/images/17082025/01/09/image_17082025_01_09_39_10366.jpg', '/media/data/images/17082025/01/09/image_17082025_01_09_48_9186.jpg', '/media/data/images/17082025/01/10/image_17082025_01_10_08_10208.jpg', '/media/data/images/17082025/01/10/image_17082025_01_10_19_10489.jpg', '/media/data/images/17082025/01/10/image_17082025_01_10_28_9145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/09/image_17082025_01_09_18_9187.jpg
/media/data/images/17082025/01/09/image_17082025_01_09_39_10366.jpg
/media/data/images/17082025/01/09/image_17082025_01_09_48_9186.jpg
/media/data/images/17082025/01/10/image_17082025_01_10_08_10208.jpg
/media/data/images/17082025/01/10/image_17082025_01_10_19_10489.jpg
/media/data/images/17082025/01/10/image_17082025_01_10_28_9145.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671813","1377671830","1377671815","1377671823","1377671826","1377671834"],"photo_ids_order":["1377671813","1377671815","1377671823","1377671826","1377671830","1377671834"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05e090c1f7484d6de61afc21d3208dff.jpg","text":"TemporaryFile(/tmp/multipartBody3064407223132456268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_09_18_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0387296fc6e60897a55f513e9d547bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8530670126930168761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_10_19_10489.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07a74724f1432ab145599bfd6497bd49.jpg","text":"TemporaryFile(/tmp/multipartBody7941177335901705181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_09_39_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c0fd9f8536fbd251a63b581361903ea.jpg","text":"TemporaryFile(/tmp/multipartBody461549219106619741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_09_48_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea5eec8d13450f3c17a6266773e9b91a.jpg","text":"TemporaryFile(/tmp/multipartBody672156349031480598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_10_08_10208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/97db95775f016439cc821ead81d7ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody6844216858705676662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440824156,"filename":"image_17082025_01_10_28_9145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671823","file1":"1377671815","file0":"1377671813","file4":"1377671830","file5":"1377671834","file3":"1377671826"},"map_files_photo_id_array":[{"photo_id":"1377671834","filename":"file5"},{"photo_id":"1377671823","filename":"file2"},{"photo_id":"1377671830","filename":"file4"},{"photo_id":"1377671815","filename":"file1"},{"photo_id":"1377671813","filename":"file0"},{"photo_id":"1377671826","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671813":["hashtag1","hashtag2"]},{"1377671830":["hashtag1","hashtag2"]},{"1377671815":["hashtag1","hashtag2"]},{"1377671823":["hashtag1","hashtag2"]},{"1377671826":["hashtag1","hashtag2"]},{"1377671834":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671813, 1377671830, 1377671815, 1377671823, 1377671826, 1377671834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.210469245910645 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:27:02.364986
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/10/image_17082025_01_10_39_10578.jpg', '/media/data/images/17082025/01/10/image_17082025_01_10_58_10367.jpg', '/media/data/images/17082025/01/10/image_17082025_01_11_09_10701.jpg', '/media/data/images/17082025/01/11/image_17082025_01_11_18_9316.jpg', '/media/data/images/17082025/01/11/image_17082025_01_11_38_9198.jpg', '/media/data/images/17082025/01/11/image_17082025_01_11_48_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/10/image_17082025_01_10_39_10578.jpg
/media/data/images/17082025/01/10/image_17082025_01_10_58_10367.jpg
/media/data/images/17082025/01/10/image_17082025_01_11_09_10701.jpg
/media/data/images/17082025/01/11/image_17082025_01_11_18_9316.jpg
/media/data/images/17082025/01/11/image_17082025_01_11_38_9198.jpg
/media/data/images/17082025/01/11/image_17082025_01_11_48_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671845","1377671854","1377671862","1377671841","1377671865","1377671859"],"photo_ids_order":["1377671841","1377671845","1377671854","1377671859","1377671862","1377671865"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5174e85d1ebd5ad464dee64aabbf0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5589554877802975758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_10_58_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9335f756c697e8c2e5f365841bb2544.jpg","text":"TemporaryFile(/tmp/multipartBody4948420133234600362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_11_09_10701.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3aeb87f3de0253eb9287ebb6c3f70137.jpg","text":"TemporaryFile(/tmp/multipartBody25453506793227398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_11_38_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0032213178f23697feea700c9ea4b658.jpg","text":"TemporaryFile(/tmp/multipartBody590064456791431482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_10_39_10578.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/828c4a191c810421b18083967b4f35cb.jpg","text":"TemporaryFile(/tmp/multipartBody6747312944025480831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_11_48_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4bfeb19c566e72895fd6f8880515d8a.jpg","text":"TemporaryFile(/tmp/multipartBody378557124479752431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440883321,"filename":"image_17082025_01_11_18_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671854","file1":"1377671845","file0":"1377671841","file4":"1377671862","file5":"1377671865","file3":"1377671859"},"map_files_photo_id_array":[{"photo_id":"1377671865","filename":"file5"},{"photo_id":"1377671854","filename":"file2"},{"photo_id":"1377671862","filename":"file4"},{"photo_id":"1377671845","filename":"file1"},{"photo_id":"1377671841","filename":"file0"},{"photo_id":"1377671859","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671845":["hashtag1","hashtag2"]},{"1377671854":["hashtag1","hashtag2"]},{"1377671862":["hashtag1","hashtag2"]},{"1377671841":["hashtag1","hashtag2"]},{"1377671865":["hashtag1","hashtag2"]},{"1377671859":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671845, 1377671854, 1377671862, 1377671841, 1377671865, 1377671859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12037014961243 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:28:02.467825
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/12/image_17082025_01_12_09_10187.jpg', '/media/data/images/17082025/01/12/image_17082025_01_12_18_9275.jpg', '/media/data/images/17082025/01/12/image_17082025_01_12_48_9269.jpg', '/media/data/images/17082025/01/13/image_17082025_01_13_18_9187.jpg', '/media/data/images/17082025/01/13/image_17082025_01_13_28_10393.jpg', '/media/data/images/17082025/01/13/image_17082025_01_13_39_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/12/image_17082025_01_12_09_10187.jpg
/media/data/images/17082025/01/12/image_17082025_01_12_18_9275.jpg
/media/data/images/17082025/01/12/image_17082025_01_12_48_9269.jpg
/media/data/images/17082025/01/13/image_17082025_01_13_18_9187.jpg
/media/data/images/17082025/01/13/image_17082025_01_13_28_10393.jpg
/media/data/images/17082025/01/13/image_17082025_01_13_39_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671899","1377671884","1377671877","1377671897","1377671891","1377671894"],"photo_ids_order":["1377671877","1377671884","1377671891","1377671894","1377671897","1377671899"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6bcfea916d56ae7c4e11007f854cc52f.jpg","text":"TemporaryFile(/tmp/multipartBody3980528961388475724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_13_39_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/efd2d7dc761b0a21edbd4a2ca50a1ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2040354501017579300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_12_18_9275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/690fb36678015e6dd5af0c1ef8de8970.jpg","text":"TemporaryFile(/tmp/multipartBody2025355126398579969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_12_09_10187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eca789d9db84845f44ce021e0f525738.jpg","text":"TemporaryFile(/tmp/multipartBody1773163430528592919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_13_28_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7db4bdde2143f9554c405e9374a58b7.jpg","text":"TemporaryFile(/tmp/multipartBody1612635531137840458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_12_48_9269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69bad8a2e721677052ab5387bd5e7bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2101093338519531935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440943393,"filename":"image_17082025_01_13_18_9187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671891","file1":"1377671884","file0":"1377671877","file4":"1377671897","file5":"1377671899","file3":"1377671894"},"map_files_photo_id_array":[{"photo_id":"1377671899","filename":"file5"},{"photo_id":"1377671891","filename":"file2"},{"photo_id":"1377671897","filename":"file4"},{"photo_id":"1377671884","filename":"file1"},{"photo_id":"1377671877","filename":"file0"},{"photo_id":"1377671894","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671899":["hashtag1","hashtag2"]},{"1377671884":["hashtag1","hashtag2"]},{"1377671877":["hashtag1","hashtag2"]},{"1377671897":["hashtag1","hashtag2"]},{"1377671891":["hashtag1","hashtag2"]},{"1377671894":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671899, 1377671884, 1377671877, 1377671897, 1377671891, 1377671894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09533619880676 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:29:02.848270
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/13/image_17082025_01_13_58_10422.jpg', '/media/data/images/17082025/01/14/image_17082025_01_14_18_9260.jpg', '/media/data/images/17082025/01/14/image_17082025_01_14_38_9124.jpg', '/media/data/images/17082025/01/14/image_17082025_01_14_48_10393.jpg', '/media/data/images/17082025/01/14/image_17082025_01_14_58_10425.jpg', '/media/data/images/17082025/01/15/image_17082025_01_15_18_9229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/13/image_17082025_01_13_58_10422.jpg
/media/data/images/17082025/01/14/image_17082025_01_14_18_9260.jpg
/media/data/images/17082025/01/14/image_17082025_01_14_38_9124.jpg
/media/data/images/17082025/01/14/image_17082025_01_14_48_10393.jpg
/media/data/images/17082025/01/14/image_17082025_01_14_58_10425.jpg
/media/data/images/17082025/01/15/image_17082025_01_15_18_9229.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671921","1377671924","1377671912","1377671931","1377671910","1377671928"],"photo_ids_order":["1377671910","1377671912","1377671921","1377671924","1377671928","1377671931"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cea1ebb9d31d706af88480ca703efbbd.jpg","text":"TemporaryFile(/tmp/multipartBody3242512622969905991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_14_38_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7eb48f24e1c92f0051405a0616e2818a.jpg","text":"TemporaryFile(/tmp/multipartBody1668633511422210867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_14_48_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0948e6470afbd00d77efe4252e3af46.jpg","text":"TemporaryFile(/tmp/multipartBody1872573545251034298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_14_18_9260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94e48932c47118c37df85b3a8c80dfa8.jpg","text":"TemporaryFile(/tmp/multipartBody8663787143280521497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_15_18_9229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d40a8a551e39f7edb8c9ac5bdc42c34.jpg","text":"TemporaryFile(/tmp/multipartBody212014383736391581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_13_58_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5ab08e174f9420172f032d5a01f2c90.jpg","text":"TemporaryFile(/tmp/multipartBody6513845688049223681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441003785,"filename":"image_17082025_01_14_58_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671921","file1":"1377671912","file0":"1377671910","file4":"1377671928","file5":"1377671931","file3":"1377671924"},"map_files_photo_id_array":[{"photo_id":"1377671931","filename":"file5"},{"photo_id":"1377671921","filename":"file2"},{"photo_id":"1377671928","filename":"file4"},{"photo_id":"1377671912","filename":"file1"},{"photo_id":"1377671910","filename":"file0"},{"photo_id":"1377671924","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671921":["hashtag1","hashtag2"]},{"1377671924":["hashtag1","hashtag2"]},{"1377671912":["hashtag1","hashtag2"]},{"1377671931":["hashtag1","hashtag2"]},{"1377671910":["hashtag1","hashtag2"]},{"1377671928":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671921, 1377671924, 1377671912, 1377671931, 1377671910, 1377671928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89084815979004 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:30:02.648452
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/15/image_17082025_01_15_28_10379.jpg', '/media/data/images/17082025/01/16/image_17082025_01_16_09_10229.jpg', '/media/data/images/17082025/01/16/image_17082025_01_16_18_9209.jpg', '/media/data/images/17082025/01/16/image_17082025_01_16_28_10415.jpg', '/media/data/images/17082025/01/16/image_17082025_01_16_39_10375.jpg', '/media/data/images/17082025/01/16/image_17082025_01_16_48_9164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/15/image_17082025_01_15_28_10379.jpg
/media/data/images/17082025/01/16/image_17082025_01_16_09_10229.jpg
/media/data/images/17082025/01/16/image_17082025_01_16_18_9209.jpg
/media/data/images/17082025/01/16/image_17082025_01_16_28_10415.jpg
/media/data/images/17082025/01/16/image_17082025_01_16_39_10375.jpg
/media/data/images/17082025/01/16/image_17082025_01_16_48_9164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671957","1377671968","1377671965","1377671944","1377671947","1377671961"],"photo_ids_order":["1377671944","1377671947","1377671957","1377671961","1377671965","1377671968"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19ec90fa8ae442b41b6039b205db2246.jpg","text":"TemporaryFile(/tmp/multipartBody2204368097232351931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_16_18_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/394c477fcdecec4e5f85193d936459ba.jpg","text":"TemporaryFile(/tmp/multipartBody2442045632981955500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_16_48_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50c3d072093a03691915b47afbe50a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1763972829410134045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_16_39_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e95b6462643d033e7831203c561e7dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1682375059717221708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_15_28_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1969cd499a587a39332c5dc2bf8f86bf.jpg","text":"TemporaryFile(/tmp/multipartBody186863309153010012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_16_09_10229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae69f1012ee596c770b2ce1f7fd87ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7987617134872740784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441063612,"filename":"image_17082025_01_16_28_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671957","file1":"1377671947","file0":"1377671944","file4":"1377671965","file5":"1377671968","file3":"1377671961"},"map_files_photo_id_array":[{"photo_id":"1377671968","filename":"file5"},{"photo_id":"1377671957","filename":"file2"},{"photo_id":"1377671965","filename":"file4"},{"photo_id":"1377671947","filename":"file1"},{"photo_id":"1377671944","filename":"file0"},{"photo_id":"1377671961","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671957":["hashtag1","hashtag2"]},{"1377671968":["hashtag1","hashtag2"]},{"1377671965":["hashtag1","hashtag2"]},{"1377671944":["hashtag1","hashtag2"]},{"1377671947":["hashtag1","hashtag2"]},{"1377671961":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671957, 1377671968, 1377671965, 1377671944, 1377671947, 1377671961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1120719909668 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:31:03.002494
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/16/image_17082025_01_16_58_10348.jpg', '/media/data/images/17082025/01/17/image_17082025_01_17_08_10416.jpg', '/media/data/images/17082025/01/17/image_17082025_01_17_28_9256.jpg', '/media/data/images/17082025/01/17/image_17082025_01_17_39_10372.jpg', '/media/data/images/17082025/01/17/image_17082025_01_17_48_9126.jpg', '/media/data/images/17082025/01/17/image_17082025_01_17_58_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/16/image_17082025_01_16_58_10348.jpg
/media/data/images/17082025/01/17/image_17082025_01_17_08_10416.jpg
/media/data/images/17082025/01/17/image_17082025_01_17_28_9256.jpg
/media/data/images/17082025/01/17/image_17082025_01_17_39_10372.jpg
/media/data/images/17082025/01/17/image_17082025_01_17_48_9126.jpg
/media/data/images/17082025/01/17/image_17082025_01_17_58_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671992","1377671995","1377671998","1377671977","1377671981","1377671990"],"photo_ids_order":["1377671977","1377671981","1377671990","1377671992","1377671995","1377671998"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78f46cfe608cb61fe5ca2030e8a9f854.jpg","text":"TemporaryFile(/tmp/multipartBody6171593297105963954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_17_39_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a64823a6b4547d5282ad2673d7a90d6.jpg","text":"TemporaryFile(/tmp/multipartBody7546442371239623120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_17_48_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09296d0116379b956eee7a8f9bffde11.jpg","text":"TemporaryFile(/tmp/multipartBody1345412236440382265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_17_58_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/784aa144bf647d33b66d883331d9e8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4211688909441350134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_16_58_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1878566026969f29c75d4bd7d1b736c9.jpg","text":"TemporaryFile(/tmp/multipartBody219428622912012557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_17_08_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c01e19e68cffd98f29593a4166285312.jpg","text":"TemporaryFile(/tmp/multipartBody2243395025890013704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441123901,"filename":"image_17082025_01_17_28_9256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671990","file1":"1377671981","file0":"1377671977","file4":"1377671995","file5":"1377671998","file3":"1377671992"},"map_files_photo_id_array":[{"photo_id":"1377671998","filename":"file5"},{"photo_id":"1377671990","filename":"file2"},{"photo_id":"1377671995","filename":"file4"},{"photo_id":"1377671981","filename":"file1"},{"photo_id":"1377671977","filename":"file0"},{"photo_id":"1377671992","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377671992":["hashtag1","hashtag2"]},{"1377671995":["hashtag1","hashtag2"]},{"1377671998":["hashtag1","hashtag2"]},{"1377671977":["hashtag1","hashtag2"]},{"1377671981":["hashtag1","hashtag2"]},{"1377671990":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377671992, 1377671995, 1377671998, 1377671977, 1377671981, 1377671990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.086252212524414 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:32:02.844725
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/18/image_17082025_01_18_18_9191.jpg', '/media/data/images/17082025/01/18/image_17082025_01_18_29_10624.jpg', '/media/data/images/17082025/01/18/image_17082025_01_18_38_9184.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_09_10376.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_18_9134.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_28_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/18/image_17082025_01_18_18_9191.jpg
/media/data/images/17082025/01/18/image_17082025_01_18_29_10624.jpg
/media/data/images/17082025/01/18/image_17082025_01_18_38_9184.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_09_10376.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_18_9134.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_28_10372.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.53173828125 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:32:22.359770
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/18/image_17082025_01_18_18_9191.jpg', '/media/data/images/17082025/01/18/image_17082025_01_18_29_10624.jpg', '/media/data/images/17082025/01/18/image_17082025_01_18_38_9184.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_09_10376.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_18_9134.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_28_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/18/image_17082025_01_18_18_9191.jpg
/media/data/images/17082025/01/18/image_17082025_01_18_29_10624.jpg
/media/data/images/17082025/01/18/image_17082025_01_18_38_9184.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_09_10376.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_18_9134.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_28_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672031","1377672025","1377672034","1377672028","1377672020","1377672023"],"photo_ids_order":["1377672020","1377672023","1377672025","1377672028","1377672031","1377672034"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6584bd1fb7e300e00a7a56db717ddc57.jpg","text":"TemporaryFile(/tmp/multipartBody1904159928897615787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_19_18_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d77fbae3ce2b0e3820fbbf67a75440a.jpg","text":"TemporaryFile(/tmp/multipartBody6775578512953264039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_18_38_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a32a390d1dfb8791f505df1095a9c765.jpg","text":"TemporaryFile(/tmp/multipartBody6790802530839442914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_19_28_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d393edc21a83f1d7b0504841ff30c90.jpg","text":"TemporaryFile(/tmp/multipartBody4267822303823684884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_19_09_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/364e4cbc335d717d8f3dee6e96b5eca6.jpg","text":"TemporaryFile(/tmp/multipartBody3869554335362730900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_18_18_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/447b88074bbd288c0633b1db79eee07b.jpg","text":"TemporaryFile(/tmp/multipartBody3407815556493078545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441203241,"filename":"image_17082025_01_18_29_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672025","file1":"1377672023","file0":"1377672020","file4":"1377672031","file5":"1377672034","file3":"1377672028"},"map_files_photo_id_array":[{"photo_id":"1377672034","filename":"file5"},{"photo_id":"1377672025","filename":"file2"},{"photo_id":"1377672031","filename":"file4"},{"photo_id":"1377672023","filename":"file1"},{"photo_id":"1377672020","filename":"file0"},{"photo_id":"1377672028","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672031":["hashtag1","hashtag2"]},{"1377672025":["hashtag1","hashtag2"]},{"1377672034":["hashtag1","hashtag2"]},{"1377672028":["hashtag1","hashtag2"]},{"1377672020":["hashtag1","hashtag2"]},{"1377672023":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672031, 1377672025, 1377672034, 1377672028, 1377672020, 1377672023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17374062538147 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:33:03.101057
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/19/image_17082025_01_19_48_10357.jpg', '/media/data/images/17082025/01/19/image_17082025_01_19_58_10410.jpg', '/media/data/images/17082025/01/20/image_17082025_01_20_08_9280.jpg', '/media/data/images/17082025/01/20/image_17082025_01_20_18_10355.jpg', '/media/data/images/17082025/01/20/image_17082025_01_20_28_10369.jpg', '/media/data/images/17082025/01/20/image_17082025_01_20_38_9129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/19/image_17082025_01_19_48_10357.jpg
/media/data/images/17082025/01/19/image_17082025_01_19_58_10410.jpg
/media/data/images/17082025/01/20/image_17082025_01_20_08_9280.jpg
/media/data/images/17082025/01/20/image_17082025_01_20_18_10355.jpg
/media/data/images/17082025/01/20/image_17082025_01_20_28_10369.jpg
/media/data/images/17082025/01/20/image_17082025_01_20_38_9129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672040","1377672048","1377672039","1377672050","1377672053","1377672047"],"photo_ids_order":["1377672039","1377672040","1377672047","1377672048","1377672050","1377672053"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a25c7515b7ec3d6d9e93766bb5ef5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody970461162109046940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_19_58_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e1d2517f870287c5ad5a803f145381c.jpg","text":"TemporaryFile(/tmp/multipartBody4430319299285737427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_20_18_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96b66befe9d958690c3d01896aaafa52.jpg","text":"TemporaryFile(/tmp/multipartBody8177527830195805122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_19_48_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41632e7df4beb6f83ed829933bada3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3555880104959933082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_20_28_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5356cdb4f273b89337276616ffb9304f.jpg","text":"TemporaryFile(/tmp/multipartBody8810116522117875733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_20_38_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea9391f6b2cf1fd037d8cc83cc28e514.jpg","text":"TemporaryFile(/tmp/multipartBody835931099952694048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441244076,"filename":"image_17082025_01_20_08_9280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672047","file1":"1377672040","file0":"1377672039","file4":"1377672050","file5":"1377672053","file3":"1377672048"},"map_files_photo_id_array":[{"photo_id":"1377672053","filename":"file5"},{"photo_id":"1377672047","filename":"file2"},{"photo_id":"1377672050","filename":"file4"},{"photo_id":"1377672040","filename":"file1"},{"photo_id":"1377672039","filename":"file0"},{"photo_id":"1377672048","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672040":["hashtag1","hashtag2"]},{"1377672048":["hashtag1","hashtag2"]},{"1377672039":["hashtag1","hashtag2"]},{"1377672050":["hashtag1","hashtag2"]},{"1377672053":["hashtag1","hashtag2"]},{"1377672047":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672040, 1377672048, 1377672039, 1377672050, 1377672053, 1377672047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89698100090027 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:34:03.246886
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/21/image_17082025_01_21_09_10326.jpg', '/media/data/images/17082025/01/21/image_17082025_01_21_18_9134.jpg', '/media/data/images/17082025/01/21/image_17082025_01_21_28_10371.jpg', '/media/data/images/17082025/01/21/image_17082025_01_21_39_10451.jpg', '/media/data/images/17082025/01/21/image_17082025_01_21_48_9202.jpg', '/media/data/images/17082025/01/21/image_17082025_01_21_58_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/21/image_17082025_01_21_09_10326.jpg
/media/data/images/17082025/01/21/image_17082025_01_21_18_9134.jpg
/media/data/images/17082025/01/21/image_17082025_01_21_28_10371.jpg
/media/data/images/17082025/01/21/image_17082025_01_21_39_10451.jpg
/media/data/images/17082025/01/21/image_17082025_01_21_48_9202.jpg
/media/data/images/17082025/01/21/image_17082025_01_21_58_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672073","1377672061","1377672079","1377672066","1377672075","1377672077"],"photo_ids_order":["1377672061","1377672066","1377672073","1377672075","1377672077","1377672079"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9bc8edb458398f027c9d78a8f7f42dab.jpg","text":"TemporaryFile(/tmp/multipartBody1749082498604282432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_28_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8108b44d907f4a92a8d50bfa811b38c.jpg","text":"TemporaryFile(/tmp/multipartBody4574405099347273343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_09_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c6faf2f20b33dbc46375a05851786d1.jpg","text":"TemporaryFile(/tmp/multipartBody3460030515396301510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_58_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5387df6969a8ef1ec75a3975068309a4.jpg","text":"TemporaryFile(/tmp/multipartBody8343159348275345624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_18_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0294c4b6ac298d6179d54ae4058ad54f.jpg","text":"TemporaryFile(/tmp/multipartBody502742368987208441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_39_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/330e8c2dcc90c11444b833bc2b4a28a7.jpg","text":"TemporaryFile(/tmp/multipartBody767640659008561109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441304196,"filename":"image_17082025_01_21_48_9202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672073","file1":"1377672066","file0":"1377672061","file4":"1377672077","file5":"1377672079","file3":"1377672075"},"map_files_photo_id_array":[{"photo_id":"1377672079","filename":"file5"},{"photo_id":"1377672073","filename":"file2"},{"photo_id":"1377672077","filename":"file4"},{"photo_id":"1377672066","filename":"file1"},{"photo_id":"1377672061","filename":"file0"},{"photo_id":"1377672075","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672073":["hashtag1","hashtag2"]},{"1377672061":["hashtag1","hashtag2"]},{"1377672079":["hashtag1","hashtag2"]},{"1377672066":["hashtag1","hashtag2"]},{"1377672075":["hashtag1","hashtag2"]},{"1377672077":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672073, 1377672061, 1377672079, 1377672066, 1377672075, 1377672077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.787049293518066 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:35:03.385357
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/22/image_17082025_01_22_08_10177.jpg', '/media/data/images/17082025/01/22/image_17082025_01_22_18_9134.jpg', '/media/data/images/17082025/01/22/image_17082025_01_22_28_10440.jpg', '/media/data/images/17082025/01/22/image_17082025_01_22_38_10351.jpg', '/media/data/images/17082025/01/22/image_17082025_01_22_49_10373.jpg', '/media/data/images/17082025/01/22/image_17082025_01_22_58_9118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/22/image_17082025_01_22_08_10177.jpg
/media/data/images/17082025/01/22/image_17082025_01_22_18_9134.jpg
/media/data/images/17082025/01/22/image_17082025_01_22_28_10440.jpg
/media/data/images/17082025/01/22/image_17082025_01_22_38_10351.jpg
/media/data/images/17082025/01/22/image_17082025_01_22_49_10373.jpg
/media/data/images/17082025/01/22/image_17082025_01_22_58_9118.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672094","1377672097","1377672096","1377672084","1377672087","1377672095"],"photo_ids_order":["1377672084","1377672087","1377672094","1377672095","1377672096","1377672097"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cac162e639398876daabcbe3679335d.jpg","text":"TemporaryFile(/tmp/multipartBody8615646923524435401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_28_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/621da4b8f99b16755cd658042ccd352f.jpg","text":"TemporaryFile(/tmp/multipartBody452873716914735360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_58_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f860bc3b7c49211f0e6fcddeff9bf52.jpg","text":"TemporaryFile(/tmp/multipartBody4167575676829579442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_49_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d904bf11cf99cced82c99544ab5ef1d.jpg","text":"TemporaryFile(/tmp/multipartBody2908113470105001009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_08_10177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0e5be9d9c89373c9ba98c6308f6ed312.jpg","text":"TemporaryFile(/tmp/multipartBody8488374467566787268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_18_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9248a7d69841f2c31df2895f41326a36.jpg","text":"TemporaryFile(/tmp/multipartBody3621737564662256655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441364318,"filename":"image_17082025_01_22_38_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672094","file1":"1377672087","file0":"1377672084","file4":"1377672096","file5":"1377672097","file3":"1377672095"},"map_files_photo_id_array":[{"photo_id":"1377672097","filename":"file5"},{"photo_id":"1377672094","filename":"file2"},{"photo_id":"1377672096","filename":"file4"},{"photo_id":"1377672087","filename":"file1"},{"photo_id":"1377672084","filename":"file0"},{"photo_id":"1377672095","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672094":["hashtag1","hashtag2"]},{"1377672097":["hashtag1","hashtag2"]},{"1377672096":["hashtag1","hashtag2"]},{"1377672084":["hashtag1","hashtag2"]},{"1377672087":["hashtag1","hashtag2"]},{"1377672095":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672094, 1377672097, 1377672096, 1377672084, 1377672087, 1377672095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.167959690093994 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:36:02.365643
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/22/image_17082025_01_23_08_10464.jpg', '/media/data/images/17082025/01/23/image_17082025_01_23_58_9115.jpg', '/media/data/images/17082025/01/24/image_17082025_01_24_18_9160.jpg', '/media/data/images/17082025/01/24/image_17082025_01_24_28_10427.jpg', '/media/data/images/17082025/01/24/image_17082025_01_24_38_10354.jpg', '/media/data/images/17082025/01/24/image_17082025_01_24_49_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/22/image_17082025_01_23_08_10464.jpg
/media/data/images/17082025/01/23/image_17082025_01_23_58_9115.jpg
/media/data/images/17082025/01/24/image_17082025_01_24_18_9160.jpg
/media/data/images/17082025/01/24/image_17082025_01_24_28_10427.jpg
/media/data/images/17082025/01/24/image_17082025_01_24_38_10354.jpg
/media/data/images/17082025/01/24/image_17082025_01_24_49_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672121","1377672118","1377672106","1377672114","1377672111","1377672116"],"photo_ids_order":["1377672106","1377672111","1377672114","1377672116","1377672118","1377672121"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1a0f93c806d80ed968b85631ed6a9191.jpg","text":"TemporaryFile(/tmp/multipartBody5765736960979650935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_24_49_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9258569dfc0346bbfe71ff5afcd6b110.jpg","text":"TemporaryFile(/tmp/multipartBody790341413075286860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_24_38_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/35227014ca4190c13f36c58e8ce7e57d.jpg","text":"TemporaryFile(/tmp/multipartBody6337904482592037916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_23_08_10464.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/850a2497970816641cffb482825a0c30.jpg","text":"TemporaryFile(/tmp/multipartBody7966586058298114127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_24_18_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6eb2417858f2d59b65c0154484f3731.jpg","text":"TemporaryFile(/tmp/multipartBody1147946286710497230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_23_58_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fee8a0198ca94c6bb1d26cac95649fff.jpg","text":"TemporaryFile(/tmp/multipartBody4752217985808057761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441423360,"filename":"image_17082025_01_24_28_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672114","file1":"1377672111","file0":"1377672106","file4":"1377672118","file5":"1377672121","file3":"1377672116"},"map_files_photo_id_array":[{"photo_id":"1377672121","filename":"file5"},{"photo_id":"1377672114","filename":"file2"},{"photo_id":"1377672118","filename":"file4"},{"photo_id":"1377672111","filename":"file1"},{"photo_id":"1377672106","filename":"file0"},{"photo_id":"1377672116","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672121":["hashtag1","hashtag2"]},{"1377672118":["hashtag1","hashtag2"]},{"1377672106":["hashtag1","hashtag2"]},{"1377672114":["hashtag1","hashtag2"]},{"1377672111":["hashtag1","hashtag2"]},{"1377672116":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672121, 1377672118, 1377672106, 1377672114, 1377672111, 1377672116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.284239530563354 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:37:02.493315
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/24/image_17082025_01_24_58_9117.jpg', '/media/data/images/17082025/01/24/image_17082025_01_25_09_10641.jpg', '/media/data/images/17082025/01/25/image_17082025_01_25_18_9122.jpg', '/media/data/images/17082025/01/25/image_17082025_01_25_49_10350.jpg', '/media/data/images/17082025/01/25/image_17082025_01_25_58_9147.jpg', '/media/data/images/17082025/01/25/image_17082025_01_26_09_10674.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/24/image_17082025_01_24_58_9117.jpg
/media/data/images/17082025/01/24/image_17082025_01_25_09_10641.jpg
/media/data/images/17082025/01/25/image_17082025_01_25_18_9122.jpg
/media/data/images/17082025/01/25/image_17082025_01_25_49_10350.jpg
/media/data/images/17082025/01/25/image_17082025_01_25_58_9147.jpg
/media/data/images/17082025/01/25/image_17082025_01_26_09_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672145","1377672130","1377672127","1377672138","1377672143","1377672140"],"photo_ids_order":["1377672127","1377672130","1377672138","1377672140","1377672143","1377672145"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c77b07764d3e542de60d6a18880d6516.jpg","text":"TemporaryFile(/tmp/multipartBody1209488457341304743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_26_09_10674.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71a7407420a65070545caa03c1a73389.jpg","text":"TemporaryFile(/tmp/multipartBody880831494033956199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_25_09_10641.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/103967afe6fe3cdd3df81d7a74518fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5046412167188301664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_24_58_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf6869ceb8e9df018347bae0f0af7499.jpg","text":"TemporaryFile(/tmp/multipartBody1866236311105770939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_25_18_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/639cefa0beb9a216e21016faa84cef5f.jpg","text":"TemporaryFile(/tmp/multipartBody4293311456180597228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_25_58_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1616b8a995faff233b77e4e51b64ddea.jpg","text":"TemporaryFile(/tmp/multipartBody2699815773741659503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441483448,"filename":"image_17082025_01_25_49_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672138","file1":"1377672130","file0":"1377672127","file4":"1377672143","file5":"1377672145","file3":"1377672140"},"map_files_photo_id_array":[{"photo_id":"1377672145","filename":"file5"},{"photo_id":"1377672138","filename":"file2"},{"photo_id":"1377672143","filename":"file4"},{"photo_id":"1377672130","filename":"file1"},{"photo_id":"1377672127","filename":"file0"},{"photo_id":"1377672140","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672145":["hashtag1","hashtag2"]},{"1377672130":["hashtag1","hashtag2"]},{"1377672127":["hashtag1","hashtag2"]},{"1377672138":["hashtag1","hashtag2"]},{"1377672143":["hashtag1","hashtag2"]},{"1377672140":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672145, 1377672130, 1377672127, 1377672138, 1377672143, 1377672140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.144749879837036 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:38:02.577559
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/26/image_17082025_01_26_18_9144.jpg', '/media/data/images/17082025/01/26/image_17082025_01_26_29_11090.jpg', '/media/data/images/17082025/01/26/image_17082025_01_26_38_9131.jpg', '/media/data/images/17082025/01/26/image_17082025_01_26_48_10369.jpg', '/media/data/images/17082025/01/26/image_17082025_01_26_59_10418.jpg', '/media/data/images/17082025/01/27/image_17082025_01_27_28_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/26/image_17082025_01_26_18_9144.jpg
/media/data/images/17082025/01/26/image_17082025_01_26_29_11090.jpg
/media/data/images/17082025/01/26/image_17082025_01_26_38_9131.jpg
/media/data/images/17082025/01/26/image_17082025_01_26_48_10369.jpg
/media/data/images/17082025/01/26/image_17082025_01_26_59_10418.jpg
/media/data/images/17082025/01/27/image_17082025_01_27_28_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672163","1377672151","1377672165","1377672168","1377672167","1377672155"],"photo_ids_order":["1377672151","1377672155","1377672163","1377672165","1377672167","1377672168"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17385b12c26b1c0a37710c896d406e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7682675426587292243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_26_38_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7cee3d9b2a0bab1928209cec44e5b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5579820005149081908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_26_18_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed8ce2752d522914254a611ee7d77038.jpg","text":"TemporaryFile(/tmp/multipartBody1375459064926290296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_26_48_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9197ea0b617f488e2c0a61d465128515.jpg","text":"TemporaryFile(/tmp/multipartBody2186122636880442222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_27_28_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e73e2f77dfccb996ea56263ffce4a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3686538587963983470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_26_59_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2aa461fccbe3326ee3af52b4d0388deb.jpg","text":"TemporaryFile(/tmp/multipartBody2026660714569139693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441543528,"filename":"image_17082025_01_26_29_11090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672163","file1":"1377672155","file0":"1377672151","file4":"1377672167","file5":"1377672168","file3":"1377672165"},"map_files_photo_id_array":[{"photo_id":"1377672168","filename":"file5"},{"photo_id":"1377672163","filename":"file2"},{"photo_id":"1377672167","filename":"file4"},{"photo_id":"1377672155","filename":"file1"},{"photo_id":"1377672151","filename":"file0"},{"photo_id":"1377672165","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672163":["hashtag1","hashtag2"]},{"1377672151":["hashtag1","hashtag2"]},{"1377672165":["hashtag1","hashtag2"]},{"1377672168":["hashtag1","hashtag2"]},{"1377672167":["hashtag1","hashtag2"]},{"1377672155":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672163, 1377672151, 1377672165, 1377672168, 1377672167, 1377672155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66399645805359 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:39:03.172840
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/27/image_17082025_01_27_38_9203.jpg', '/media/data/images/17082025/01/27/image_17082025_01_27_48_10455.jpg', '/media/data/images/17082025/01/27/image_17082025_01_27_59_10509.jpg', '/media/data/images/17082025/01/28/image_17082025_01_28_08_9284.jpg', '/media/data/images/17082025/01/28/image_17082025_01_28_18_10429.jpg', '/media/data/images/17082025/01/28/image_17082025_01_28_29_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/27/image_17082025_01_27_38_9203.jpg
/media/data/images/17082025/01/27/image_17082025_01_27_48_10455.jpg
/media/data/images/17082025/01/27/image_17082025_01_27_59_10509.jpg
/media/data/images/17082025/01/28/image_17082025_01_28_08_9284.jpg
/media/data/images/17082025/01/28/image_17082025_01_28_18_10429.jpg
/media/data/images/17082025/01/28/image_17082025_01_28_29_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672187","1377672175","1377672183","1377672189","1377672180","1377672185"],"photo_ids_order":["1377672175","1377672180","1377672183","1377672185","1377672187","1377672189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a4259ec344722fd9649f40b3356a96a.jpg","text":"TemporaryFile(/tmp/multipartBody8178165082484228299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_28_18_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab54f97b8a1f3aefc61fa71929a57f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5818344319337746310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_27_38_9203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6eef8dbf40094cabfc71a8995afad0f8.jpg","text":"TemporaryFile(/tmp/multipartBody2386474633427032362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_27_59_10509.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40a7b38ad73b8ac3d8ece39af22cb6a6.jpg","text":"TemporaryFile(/tmp/multipartBody8468749483844081392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_28_29_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/589a28305efb76e02aa43499c172d833.jpg","text":"TemporaryFile(/tmp/multipartBody5915266163047201506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_27_48_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd39a98c0dd53ddb157780e24d7796d7.jpg","text":"TemporaryFile(/tmp/multipartBody113232525588165279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441604128,"filename":"image_17082025_01_28_08_9284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672183","file1":"1377672180","file0":"1377672175","file4":"1377672187","file5":"1377672189","file3":"1377672185"},"map_files_photo_id_array":[{"photo_id":"1377672189","filename":"file5"},{"photo_id":"1377672183","filename":"file2"},{"photo_id":"1377672187","filename":"file4"},{"photo_id":"1377672180","filename":"file1"},{"photo_id":"1377672175","filename":"file0"},{"photo_id":"1377672185","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672187":["hashtag1","hashtag2"]},{"1377672175":["hashtag1","hashtag2"]},{"1377672183":["hashtag1","hashtag2"]},{"1377672189":["hashtag1","hashtag2"]},{"1377672180":["hashtag1","hashtag2"]},{"1377672185":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672187, 1377672175, 1377672183, 1377672189, 1377672180, 1377672185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39659380912781 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:40:02.889666
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/28/image_17082025_01_28_38_9226.jpg', '/media/data/images/17082025/01/28/image_17082025_01_28_48_10378.jpg', '/media/data/images/17082025/01/28/image_17082025_01_28_58_9237.jpg', '/media/data/images/17082025/01/28/image_17082025_01_29_08_10508.jpg', '/media/data/images/17082025/01/29/image_17082025_01_29_38_10649.jpg', '/media/data/images/17082025/01/29/image_17082025_01_29_48_9284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/28/image_17082025_01_28_38_9226.jpg
/media/data/images/17082025/01/28/image_17082025_01_28_48_10378.jpg
/media/data/images/17082025/01/28/image_17082025_01_28_58_9237.jpg
/media/data/images/17082025/01/28/image_17082025_01_29_08_10508.jpg
/media/data/images/17082025/01/29/image_17082025_01_29_38_10649.jpg
/media/data/images/17082025/01/29/image_17082025_01_29_48_9284.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672193","1377672196","1377672208","1377672210","1377672204","1377672206"],"photo_ids_order":["1377672193","1377672196","1377672204","1377672206","1377672208","1377672210"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bd53fe5d27e8c256a838f289e5d2760.jpg","text":"TemporaryFile(/tmp/multipartBody840738744383687269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_28_38_9226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0318eac6cc920e7582b951616e46bf24.jpg","text":"TemporaryFile(/tmp/multipartBody7059077604644565990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_28_48_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db2cf535de9c108e0ac503f56001fe87.jpg","text":"TemporaryFile(/tmp/multipartBody3446282255275422617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_29_38_10649.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7621235b768247e717d360f7d4209a9.jpg","text":"TemporaryFile(/tmp/multipartBody8980951919450762273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_29_48_9284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a8f3433a643bb28c20f8567f8975865.jpg","text":"TemporaryFile(/tmp/multipartBody2568126695788069675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_28_58_9237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4425bcc0846148ca568eefdba0f10a4.jpg","text":"TemporaryFile(/tmp/multipartBody3267559023931208306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441663825,"filename":"image_17082025_01_29_08_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672204","file1":"1377672196","file0":"1377672193","file4":"1377672208","file5":"1377672210","file3":"1377672206"},"map_files_photo_id_array":[{"photo_id":"1377672210","filename":"file5"},{"photo_id":"1377672204","filename":"file2"},{"photo_id":"1377672208","filename":"file4"},{"photo_id":"1377672196","filename":"file1"},{"photo_id":"1377672193","filename":"file0"},{"photo_id":"1377672206","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672193":["hashtag1","hashtag2"]},{"1377672196":["hashtag1","hashtag2"]},{"1377672208":["hashtag1","hashtag2"]},{"1377672210":["hashtag1","hashtag2"]},{"1377672204":["hashtag1","hashtag2"]},{"1377672206":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672193, 1377672196, 1377672208, 1377672210, 1377672204, 1377672206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.15897727012634 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:41:03.047006
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/30/image_17082025_01_30_08_10353.jpg', '/media/data/images/17082025/01/30/image_17082025_01_30_18_9211.jpg', '/media/data/images/17082025/01/30/image_17082025_01_30_28_10465.jpg', '/media/data/images/17082025/01/30/image_17082025_01_30_39_10430.jpg', '/media/data/images/17082025/01/31/image_17082025_01_31_08_10318.jpg', '/media/data/images/17082025/01/31/image_17082025_01_31_19_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/30/image_17082025_01_30_08_10353.jpg
/media/data/images/17082025/01/30/image_17082025_01_30_18_9211.jpg
/media/data/images/17082025/01/30/image_17082025_01_30_28_10465.jpg
/media/data/images/17082025/01/30/image_17082025_01_30_39_10430.jpg
/media/data/images/17082025/01/31/image_17082025_01_31_08_10318.jpg
/media/data/images/17082025/01/31/image_17082025_01_31_19_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672229","1377672220","1377672217","1377672231","1377672228","1377672230"],"photo_ids_order":["1377672217","1377672220","1377672228","1377672229","1377672230","1377672231"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf70e14b99392c4435ac969c6191a813.jpg","text":"TemporaryFile(/tmp/multipartBody8504391505326356941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_30_39_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d557d30d318e7a0ea3de59f7847b9b70.jpg","text":"TemporaryFile(/tmp/multipartBody2382251137118114038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_30_18_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3735eb7f932ed92053d79d5554be4b2c.jpg","text":"TemporaryFile(/tmp/multipartBody1716782514859974093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_30_08_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/476c1c1dea180f932870f838e84cc918.jpg","text":"TemporaryFile(/tmp/multipartBody201769243133118443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_31_19_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51f9872031560fec6c643a40a3ad3967.jpg","text":"TemporaryFile(/tmp/multipartBody8022225145314123348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_30_28_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f4c1edde47536cc74283779e7deac99.jpg","text":"TemporaryFile(/tmp/multipartBody2357632978554894189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441723982,"filename":"image_17082025_01_31_08_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672228","file1":"1377672220","file0":"1377672217","file4":"1377672230","file5":"1377672231","file3":"1377672229"},"map_files_photo_id_array":[{"photo_id":"1377672231","filename":"file5"},{"photo_id":"1377672228","filename":"file2"},{"photo_id":"1377672230","filename":"file4"},{"photo_id":"1377672220","filename":"file1"},{"photo_id":"1377672217","filename":"file0"},{"photo_id":"1377672229","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672229":["hashtag1","hashtag2"]},{"1377672220":["hashtag1","hashtag2"]},{"1377672217":["hashtag1","hashtag2"]},{"1377672231":["hashtag1","hashtag2"]},{"1377672228":["hashtag1","hashtag2"]},{"1377672230":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672229, 1377672220, 1377672217, 1377672231, 1377672228, 1377672230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61124634742737 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:42:02.918846
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/31/image_17082025_01_31_28_9151.jpg', '/media/data/images/17082025/01/31/image_17082025_01_31_38_10376.jpg', '/media/data/images/17082025/01/31/image_17082025_01_31_48_9356.jpg', '/media/data/images/17082025/01/31/image_17082025_01_31_58_10375.jpg', '/media/data/images/17082025/01/31/image_17082025_01_32_08_10380.jpg', '/media/data/images/17082025/01/32/image_17082025_01_32_18_9200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/31/image_17082025_01_31_28_9151.jpg
/media/data/images/17082025/01/31/image_17082025_01_31_38_10376.jpg
/media/data/images/17082025/01/31/image_17082025_01_31_48_9356.jpg
/media/data/images/17082025/01/31/image_17082025_01_31_58_10375.jpg
/media/data/images/17082025/01/31/image_17082025_01_32_08_10380.jpg
/media/data/images/17082025/01/32/image_17082025_01_32_18_9200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672256","1377672244","1377672258","1377672249","1377672251","1377672239"],"photo_ids_order":["1377672239","1377672244","1377672249","1377672251","1377672256","1377672258"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39032bd854c4d1efb6241c275d5d3b84.jpg","text":"TemporaryFile(/tmp/multipartBody2899105550642763957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_32_08_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1da678c4ef59ec19899c6185616749df.jpg","text":"TemporaryFile(/tmp/multipartBody5647445315305748071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_31_38_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5cafa6579c2fb05d65a53bf267838e85.jpg","text":"TemporaryFile(/tmp/multipartBody2875351733497151176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_32_18_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d77faf26e6248dff99c47cdfc601daf.jpg","text":"TemporaryFile(/tmp/multipartBody9002973562307372323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_31_48_9356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecc1fbf29b5297552a6030522fb4ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody7527256677789030306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_31_58_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc739fb9b7ca5caa055c1c0f7d16aa1b.jpg","text":"TemporaryFile(/tmp/multipartBody5590847643105929091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441783872,"filename":"image_17082025_01_31_28_9151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672249","file1":"1377672244","file0":"1377672239","file4":"1377672256","file5":"1377672258","file3":"1377672251"},"map_files_photo_id_array":[{"photo_id":"1377672258","filename":"file5"},{"photo_id":"1377672249","filename":"file2"},{"photo_id":"1377672256","filename":"file4"},{"photo_id":"1377672244","filename":"file1"},{"photo_id":"1377672239","filename":"file0"},{"photo_id":"1377672251","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672256":["hashtag1","hashtag2"]},{"1377672244":["hashtag1","hashtag2"]},{"1377672258":["hashtag1","hashtag2"]},{"1377672249":["hashtag1","hashtag2"]},{"1377672251":["hashtag1","hashtag2"]},{"1377672239":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672256, 1377672244, 1377672258, 1377672249, 1377672251, 1377672239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25475215911865 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:43:03.372938
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/32/image_17082025_01_32_28_10366.jpg', '/media/data/images/17082025/01/32/image_17082025_01_32_38_10357.jpg', '/media/data/images/17082025/01/33/image_17082025_01_33_08_10301.jpg', '/media/data/images/17082025/01/33/image_17082025_01_33_19_10351.jpg', '/media/data/images/17082025/01/33/image_17082025_01_33_28_9193.jpg', '/media/data/images/17082025/01/33/image_17082025_01_33_38_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/32/image_17082025_01_32_28_10366.jpg
/media/data/images/17082025/01/32/image_17082025_01_32_38_10357.jpg
/media/data/images/17082025/01/33/image_17082025_01_33_08_10301.jpg
/media/data/images/17082025/01/33/image_17082025_01_33_19_10351.jpg
/media/data/images/17082025/01/33/image_17082025_01_33_28_9193.jpg
/media/data/images/17082025/01/33/image_17082025_01_33_38_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672276","1377672279","1377672264","1377672267","1377672281","1377672283"],"photo_ids_order":["1377672264","1377672267","1377672276","1377672279","1377672281","1377672283"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/388920e84d679b11786ae4a265c72d49.jpg","text":"TemporaryFile(/tmp/multipartBody868881995782891090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_33_08_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11e6086ce1eac273ea2ab7da42a7e762.jpg","text":"TemporaryFile(/tmp/multipartBody6653300122787638827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_33_19_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/95f6b329f20fd702fd929bae939624b5.jpg","text":"TemporaryFile(/tmp/multipartBody7834697271361190612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_32_28_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86f454200e9c11e29eb647e49935166e.jpg","text":"TemporaryFile(/tmp/multipartBody3264689539790593406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_32_38_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50800590e9286779d50c93597d1557cd.jpg","text":"TemporaryFile(/tmp/multipartBody4790836315120974364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_33_28_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aac2ad9f32a8e2fe10e2ddabc4a71302.jpg","text":"TemporaryFile(/tmp/multipartBody1192134577750832886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441844360,"filename":"image_17082025_01_33_38_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672276","file1":"1377672267","file0":"1377672264","file4":"1377672281","file5":"1377672283","file3":"1377672279"},"map_files_photo_id_array":[{"photo_id":"1377672283","filename":"file5"},{"photo_id":"1377672276","filename":"file2"},{"photo_id":"1377672281","filename":"file4"},{"photo_id":"1377672267","filename":"file1"},{"photo_id":"1377672264","filename":"file0"},{"photo_id":"1377672279","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672276":["hashtag1","hashtag2"]},{"1377672279":["hashtag1","hashtag2"]},{"1377672264":["hashtag1","hashtag2"]},{"1377672267":["hashtag1","hashtag2"]},{"1377672281":["hashtag1","hashtag2"]},{"1377672283":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672276, 1377672279, 1377672264, 1377672267, 1377672281, 1377672283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11228156089783 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:44:02.328741
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/33/image_17082025_01_33_49_10404.jpg', '/media/data/images/17082025/01/33/image_17082025_01_33_58_9115.jpg', '/media/data/images/17082025/01/33/image_17082025_01_34_08_10593.jpg', '/media/data/images/17082025/01/34/image_17082025_01_34_28_9113.jpg', '/media/data/images/17082025/01/34/image_17082025_01_34_38_10349.jpg', '/media/data/images/17082025/01/34/image_17082025_01_34_49_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/33/image_17082025_01_33_49_10404.jpg
/media/data/images/17082025/01/33/image_17082025_01_33_58_9115.jpg
/media/data/images/17082025/01/33/image_17082025_01_34_08_10593.jpg
/media/data/images/17082025/01/34/image_17082025_01_34_28_9113.jpg
/media/data/images/17082025/01/34/image_17082025_01_34_38_10349.jpg
/media/data/images/17082025/01/34/image_17082025_01_34_49_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672289","1377672312","1377672296","1377672305","1377672314","1377672308"],"photo_ids_order":["1377672289","1377672296","1377672305","1377672308","1377672312","1377672314"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/003c83e31f0fc371cc25b59f04d53aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3592478941158286584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_33_49_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a91e445ea32fe50ba0e26af5fd7ec32.jpg","text":"TemporaryFile(/tmp/multipartBody6769298769975070282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_34_38_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cfa88520ea5ddf8fd88cbb0b29336bd.jpg","text":"TemporaryFile(/tmp/multipartBody3919293144658397220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_33_58_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2073d7044208eb8dad2dd270503c8e72.jpg","text":"TemporaryFile(/tmp/multipartBody693683561222258263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_34_08_10593.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cba0a8e6d6a1c494483be058f323ee01.jpg","text":"TemporaryFile(/tmp/multipartBody7759376726573723461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_34_49_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/016b7583b18764ac3c15e9aa44e2c2d0.jpg","text":"TemporaryFile(/tmp/multipartBody6328117300959380563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904303,"filename":"image_17082025_01_34_28_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672305","file1":"1377672296","file0":"1377672289","file4":"1377672312","file5":"1377672314","file3":"1377672308"},"map_files_photo_id_array":[{"photo_id":"1377672314","filename":"file5"},{"photo_id":"1377672305","filename":"file2"},{"photo_id":"1377672312","filename":"file4"},{"photo_id":"1377672296","filename":"file1"},{"photo_id":"1377672289","filename":"file0"},{"photo_id":"1377672308","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672289":["hashtag1","hashtag2"]},{"1377672312":["hashtag1","hashtag2"]},{"1377672296":["hashtag1","hashtag2"]},{"1377672305":["hashtag1","hashtag2"]},{"1377672314":["hashtag1","hashtag2"]},{"1377672308":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672289, 1377672312, 1377672296, 1377672305, 1377672314, 1377672308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91696834564209 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:45:02.636615
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/34/image_17082025_01_34_58_9137.jpg', '/media/data/images/17082025/01/34/image_17082025_01_35_08_10650.jpg', '/media/data/images/17082025/01/35/image_17082025_01_35_19_10362.jpg', '/media/data/images/17082025/01/35/image_17082025_01_35_28_9113.jpg', '/media/data/images/17082025/01/35/image_17082025_01_35_38_10362.jpg', '/media/data/images/17082025/01/35/image_17082025_01_35_49_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/34/image_17082025_01_34_58_9137.jpg
/media/data/images/17082025/01/34/image_17082025_01_35_08_10650.jpg
/media/data/images/17082025/01/35/image_17082025_01_35_19_10362.jpg
/media/data/images/17082025/01/35/image_17082025_01_35_28_9113.jpg
/media/data/images/17082025/01/35/image_17082025_01_35_38_10362.jpg
/media/data/images/17082025/01/35/image_17082025_01_35_49_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672322","1377672331","1377672330","1377672333","1377672335","1377672320"],"photo_ids_order":["1377672320","1377672322","1377672330","1377672331","1377672333","1377672335"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69a41a3bdd4719dd06968e83ca739272.jpg","text":"TemporaryFile(/tmp/multipartBody4622033508780706920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_35_08_10650.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f76b240c2b79a287a2e55193f485c2a4.jpg","text":"TemporaryFile(/tmp/multipartBody4575778617756718186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_35_28_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7232888d561e773bfe33fd7d685f44f7.jpg","text":"TemporaryFile(/tmp/multipartBody4058364605288936078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_35_19_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e72a478e3d8d3ee020e92aa5faff20a.jpg","text":"TemporaryFile(/tmp/multipartBody129719465633200806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_35_38_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0a0420f121068bc2eea7a878db17244.jpg","text":"TemporaryFile(/tmp/multipartBody660867569309400050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_35_49_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0067f9719b4a56f845e67575935f9a31.jpg","text":"TemporaryFile(/tmp/multipartBody8472889114889503236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441963560,"filename":"image_17082025_01_34_58_9137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672330","file1":"1377672322","file0":"1377672320","file4":"1377672333","file5":"1377672335","file3":"1377672331"},"map_files_photo_id_array":[{"photo_id":"1377672335","filename":"file5"},{"photo_id":"1377672330","filename":"file2"},{"photo_id":"1377672333","filename":"file4"},{"photo_id":"1377672322","filename":"file1"},{"photo_id":"1377672320","filename":"file0"},{"photo_id":"1377672331","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672322":["hashtag1","hashtag2"]},{"1377672331":["hashtag1","hashtag2"]},{"1377672330":["hashtag1","hashtag2"]},{"1377672333":["hashtag1","hashtag2"]},{"1377672335":["hashtag1","hashtag2"]},{"1377672320":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672322, 1377672331, 1377672330, 1377672333, 1377672335, 1377672320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85583734512329 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:46:02.582943
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/35/image_17082025_01_35_58_9156.jpg', '/media/data/images/17082025/01/35/image_17082025_01_36_08_10496.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_19_10468.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_28_9119.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_38_10379.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_49_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/35/image_17082025_01_35_58_9156.jpg
/media/data/images/17082025/01/35/image_17082025_01_36_08_10496.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_19_10468.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_28_9119.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_38_10379.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_49_10350.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5506653785705566 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:46:22.110405
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/35/image_17082025_01_35_58_9156.jpg', '/media/data/images/17082025/01/35/image_17082025_01_36_08_10496.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_19_10468.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_28_9119.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_38_10379.jpg', '/media/data/images/17082025/01/36/image_17082025_01_36_49_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/35/image_17082025_01_35_58_9156.jpg
/media/data/images/17082025/01/35/image_17082025_01_36_08_10496.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_19_10468.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_28_9119.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_38_10379.jpg
/media/data/images/17082025/01/36/image_17082025_01_36_49_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672364","1377672367","1377672357","1377672366","1377672354","1377672362"],"photo_ids_order":["1377672354","1377672357","1377672362","1377672364","1377672366","1377672367"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/579a9dcd129700a84c30572a3867c480.jpg","text":"TemporaryFile(/tmp/multipartBody4788664710198993331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_36_28_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfde92a4bb4b5e3bf117a70b3b186ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7211607178439270937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_36_49_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/725e47324c595b1145fb6a223312be59.jpg","text":"TemporaryFile(/tmp/multipartBody3710625045059122049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_36_08_10496.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2138c4763df16f0bf2e82629e4a3a86.jpg","text":"TemporaryFile(/tmp/multipartBody2554862168250169293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_36_38_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aef8395d24fc41c95b3560c2c3f5e776.jpg","text":"TemporaryFile(/tmp/multipartBody4174654968750183857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_35_58_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1b5bb4a410c0ceaffecd2d37648c71d.jpg","text":"TemporaryFile(/tmp/multipartBody6629277489214021299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442042986,"filename":"image_17082025_01_36_19_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672362","file1":"1377672357","file0":"1377672354","file4":"1377672366","file5":"1377672367","file3":"1377672364"},"map_files_photo_id_array":[{"photo_id":"1377672367","filename":"file5"},{"photo_id":"1377672362","filename":"file2"},{"photo_id":"1377672366","filename":"file4"},{"photo_id":"1377672357","filename":"file1"},{"photo_id":"1377672354","filename":"file0"},{"photo_id":"1377672364","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672364":["hashtag1","hashtag2"]},{"1377672367":["hashtag1","hashtag2"]},{"1377672357":["hashtag1","hashtag2"]},{"1377672366":["hashtag1","hashtag2"]},{"1377672354":["hashtag1","hashtag2"]},{"1377672362":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672364, 1377672367, 1377672357, 1377672366, 1377672354, 1377672362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33627724647522 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:47:22.189566
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/36/image_17082025_01_37_08_10504.jpg', '/media/data/images/17082025/01/37/image_17082025_01_37_19_10408.jpg', '/media/data/images/17082025/01/37/image_17082025_01_37_28_9315.jpg', '/media/data/images/17082025/01/37/image_17082025_01_37_38_10350.jpg', '/media/data/images/17082025/01/37/image_17082025_01_37_49_10344.jpg', '/media/data/images/17082025/01/37/image_17082025_01_38_08_10517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/36/image_17082025_01_37_08_10504.jpg
/media/data/images/17082025/01/37/image_17082025_01_37_19_10408.jpg
/media/data/images/17082025/01/37/image_17082025_01_37_28_9315.jpg
/media/data/images/17082025/01/37/image_17082025_01_37_38_10350.jpg
/media/data/images/17082025/01/37/image_17082025_01_37_49_10344.jpg
/media/data/images/17082025/01/37/image_17082025_01_38_08_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672388","1377672390","1377672384","1377672392","1377672386","1377672380"],"photo_ids_order":["1377672380","1377672384","1377672386","1377672388","1377672390","1377672392"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8849dcd5e4f2ec85c21f35a50b12759e.jpg","text":"TemporaryFile(/tmp/multipartBody1049613380561960124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_37_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65edcb562ce515742c96b31631c6ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody7849099025987639550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_37_49_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fc6274f47cae26922467a345d30a36e.jpg","text":"TemporaryFile(/tmp/multipartBody7738639909598888470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_37_19_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/155992e2d254fc7f04edc7969971034f.jpg","text":"TemporaryFile(/tmp/multipartBody559118651368102712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_38_08_10517.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba6750c04d28e9c745a6086647c1f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody1137241754992300296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_37_28_9315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f57bf6d311d27bebe9d37b2d28bd343e.jpg","text":"TemporaryFile(/tmp/multipartBody2974814721262141541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442103141,"filename":"image_17082025_01_37_08_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672386","file1":"1377672384","file0":"1377672380","file4":"1377672390","file5":"1377672392","file3":"1377672388"},"map_files_photo_id_array":[{"photo_id":"1377672392","filename":"file5"},{"photo_id":"1377672386","filename":"file2"},{"photo_id":"1377672390","filename":"file4"},{"photo_id":"1377672384","filename":"file1"},{"photo_id":"1377672380","filename":"file0"},{"photo_id":"1377672388","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672388":["hashtag1","hashtag2"]},{"1377672390":["hashtag1","hashtag2"]},{"1377672384":["hashtag1","hashtag2"]},{"1377672392":["hashtag1","hashtag2"]},{"1377672386":["hashtag1","hashtag2"]},{"1377672380":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672388, 1377672390, 1377672384, 1377672392, 1377672386, 1377672380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.686246156692505 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:48:22.304624
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/38/image_17082025_01_38_28_9218.jpg', '/media/data/images/17082025/01/38/image_17082025_01_38_38_10352.jpg', '/media/data/images/17082025/01/38/image_17082025_01_39_08_10373.jpg', '/media/data/images/17082025/01/39/image_17082025_01_39_19_10382.jpg', '/media/data/images/17082025/01/39/image_17082025_01_39_28_9218.jpg', '/media/data/images/17082025/01/39/image_17082025_01_39_49_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/38/image_17082025_01_38_28_9218.jpg
/media/data/images/17082025/01/38/image_17082025_01_38_38_10352.jpg
/media/data/images/17082025/01/38/image_17082025_01_39_08_10373.jpg
/media/data/images/17082025/01/39/image_17082025_01_39_19_10382.jpg
/media/data/images/17082025/01/39/image_17082025_01_39_28_9218.jpg
/media/data/images/17082025/01/39/image_17082025_01_39_49_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672421","1377672409","1377672418","1377672416","1377672419","1377672413"],"photo_ids_order":["1377672409","1377672413","1377672416","1377672418","1377672419","1377672421"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5eacd984d0bfdf93a2fb7a96944f5a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4976495967082809120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_39_49_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/434e3f9ebc22424594386a5e2bb18a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8983194982866023822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_38_28_9218.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a6d105ebdf2739b22627169c7a07771.jpg","text":"TemporaryFile(/tmp/multipartBody1107679992567311796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_39_19_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d8a587d30b43294c8c0a5dce5dad854.jpg","text":"TemporaryFile(/tmp/multipartBody6611843804929097510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_39_08_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c785d9a81f008de4fbbaa237e2a0084.jpg","text":"TemporaryFile(/tmp/multipartBody8976730542933385702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_39_28_9218.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/953473b5ddd255fb49665f45430e8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5154098266670118926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442163236,"filename":"image_17082025_01_38_38_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672416","file1":"1377672413","file0":"1377672409","file4":"1377672419","file5":"1377672421","file3":"1377672418"},"map_files_photo_id_array":[{"photo_id":"1377672421","filename":"file5"},{"photo_id":"1377672416","filename":"file2"},{"photo_id":"1377672419","filename":"file4"},{"photo_id":"1377672413","filename":"file1"},{"photo_id":"1377672409","filename":"file0"},{"photo_id":"1377672418","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672421":["hashtag1","hashtag2"]},{"1377672409":["hashtag1","hashtag2"]},{"1377672418":["hashtag1","hashtag2"]},{"1377672416":["hashtag1","hashtag2"]},{"1377672419":["hashtag1","hashtag2"]},{"1377672413":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672421, 1377672409, 1377672418, 1377672416, 1377672419, 1377672413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.346508741378784 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:49:03.223965
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/40/image_17082025_01_40_19_10390.jpg', '/media/data/images/17082025/01/40/image_17082025_01_40_28_9128.jpg', '/media/data/images/17082025/01/40/image_17082025_01_40_38_10362.jpg', '/media/data/images/17082025/01/40/image_17082025_01_40_49_10356.jpg', '/media/data/images/17082025/01/40/image_17082025_01_41_08_10424.jpg', '/media/data/images/17082025/01/41/image_17082025_01_41_18_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/40/image_17082025_01_40_19_10390.jpg
/media/data/images/17082025/01/40/image_17082025_01_40_28_9128.jpg
/media/data/images/17082025/01/40/image_17082025_01_40_38_10362.jpg
/media/data/images/17082025/01/40/image_17082025_01_40_49_10356.jpg
/media/data/images/17082025/01/40/image_17082025_01_41_08_10424.jpg
/media/data/images/17082025/01/41/image_17082025_01_41_18_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672427","1377672439","1377672430","1377672441","1377672444","1377672443"],"photo_ids_order":["1377672427","1377672430","1377672439","1377672441","1377672443","1377672444"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65a1410949e67320815f6a0c07ca367d.jpg","text":"TemporaryFile(/tmp/multipartBody649358167373505292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_40_19_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f3fc09560ff03cfc0999e2c8ef00442.jpg","text":"TemporaryFile(/tmp/multipartBody2758460080719037375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_40_38_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/35b48e77e4160591bfb4cae7507f7d66.jpg","text":"TemporaryFile(/tmp/multipartBody8148586041650338914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_40_28_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b28dc1f10ceb3b3bd148b8bba39fc94.jpg","text":"TemporaryFile(/tmp/multipartBody8815094033914858930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_40_49_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b942324f1064081781f908f8b2235d9.jpg","text":"TemporaryFile(/tmp/multipartBody1497456697007097641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_41_18_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f8f33f4c8c6ecb0b443221561e669f5.jpg","text":"TemporaryFile(/tmp/multipartBody498950050018241112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442204130,"filename":"image_17082025_01_41_08_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672439","file1":"1377672430","file0":"1377672427","file4":"1377672443","file5":"1377672444","file3":"1377672441"},"map_files_photo_id_array":[{"photo_id":"1377672444","filename":"file5"},{"photo_id":"1377672439","filename":"file2"},{"photo_id":"1377672443","filename":"file4"},{"photo_id":"1377672430","filename":"file1"},{"photo_id":"1377672427","filename":"file0"},{"photo_id":"1377672441","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672427":["hashtag1","hashtag2"]},{"1377672439":["hashtag1","hashtag2"]},{"1377672430":["hashtag1","hashtag2"]},{"1377672441":["hashtag1","hashtag2"]},{"1377672444":["hashtag1","hashtag2"]},{"1377672443":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672427, 1377672439, 1377672430, 1377672441, 1377672444, 1377672443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70052242279053 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:50:03.005761
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/41/image_17082025_01_41_38_10446.jpg', '/media/data/images/17082025/01/41/image_17082025_01_41_48_10415.jpg', '/media/data/images/17082025/01/41/image_17082025_01_41_58_9115.jpg', '/media/data/images/17082025/01/41/image_17082025_01_42_08_10666.jpg', '/media/data/images/17082025/01/42/image_17082025_01_42_19_10400.jpg', '/media/data/images/17082025/01/42/image_17082025_01_42_49_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/41/image_17082025_01_41_38_10446.jpg
/media/data/images/17082025/01/41/image_17082025_01_41_48_10415.jpg
/media/data/images/17082025/01/41/image_17082025_01_41_58_9115.jpg
/media/data/images/17082025/01/41/image_17082025_01_42_08_10666.jpg
/media/data/images/17082025/01/42/image_17082025_01_42_19_10400.jpg
/media/data/images/17082025/01/42/image_17082025_01_42_49_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672472","1377672475","1377672469","1377672465","1377672470","1377672461"],"photo_ids_order":["1377672461","1377672465","1377672469","1377672470","1377672472","1377672475"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d93b758a6a602398bc5924074955fdd.jpg","text":"TemporaryFile(/tmp/multipartBody5299342470846867210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_42_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0afafa8eb885087d7dd8008527a54ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1904947653338026311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_42_49_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1576dcf8fc6028a298b3381c48d523be.jpg","text":"TemporaryFile(/tmp/multipartBody2511428463815819265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_41_58_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40cb0732f3a61bfe4b7631a84cf25722.jpg","text":"TemporaryFile(/tmp/multipartBody7720264533133603440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_41_48_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a0bbb8876304d56ff3fba5583850b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2300751142234232923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_42_08_10666.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d82d9b6063c757037666b1c4bbf89053.jpg","text":"TemporaryFile(/tmp/multipartBody8765953198740799324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442263960,"filename":"image_17082025_01_41_38_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672469","file1":"1377672465","file0":"1377672461","file4":"1377672472","file5":"1377672475","file3":"1377672470"},"map_files_photo_id_array":[{"photo_id":"1377672475","filename":"file5"},{"photo_id":"1377672469","filename":"file2"},{"photo_id":"1377672472","filename":"file4"},{"photo_id":"1377672465","filename":"file1"},{"photo_id":"1377672461","filename":"file0"},{"photo_id":"1377672470","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672472":["hashtag1","hashtag2"]},{"1377672475":["hashtag1","hashtag2"]},{"1377672469":["hashtag1","hashtag2"]},{"1377672465":["hashtag1","hashtag2"]},{"1377672470":["hashtag1","hashtag2"]},{"1377672461":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672472, 1377672475, 1377672469, 1377672465, 1377672470, 1377672461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5778546333313 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:51:02.489512
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/42/image_17082025_01_42_58_9120.jpg', '/media/data/images/17082025/01/42/image_17082025_01_43_08_10724.jpg', '/media/data/images/17082025/01/43/image_17082025_01_43_19_10403.jpg', '/media/data/images/17082025/01/43/image_17082025_01_43_28_9266.jpg', '/media/data/images/17082025/01/43/image_17082025_01_43_49_10354.jpg', '/media/data/images/17082025/01/43/image_17082025_01_44_08_10525.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/42/image_17082025_01_42_58_9120.jpg
/media/data/images/17082025/01/42/image_17082025_01_43_08_10724.jpg
/media/data/images/17082025/01/43/image_17082025_01_43_19_10403.jpg
/media/data/images/17082025/01/43/image_17082025_01_43_28_9266.jpg
/media/data/images/17082025/01/43/image_17082025_01_43_49_10354.jpg
/media/data/images/17082025/01/43/image_17082025_01_44_08_10525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672502","1377672489","1377672498","1377672504","1377672488","1377672496"],"photo_ids_order":["1377672488","1377672489","1377672496","1377672498","1377672502","1377672504"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f153a4827950ef982891aeecf1add89.jpg","text":"TemporaryFile(/tmp/multipartBody986082352703626578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_43_49_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0f8923a2166d6f1747e7c65dd88fa38.jpg","text":"TemporaryFile(/tmp/multipartBody3360916215236441587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_43_08_10724.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f539b2755939e120ad5be0bc59fb2b90.jpg","text":"TemporaryFile(/tmp/multipartBody4495112447254338605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_43_28_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/873215e4a32f67b228921dce17390fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4090769306533690115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_44_08_10525.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0590387e158039459948bcbc35bc0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6035400169033076249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_42_58_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e37906b493aa859bad14f3175b5a49da.jpg","text":"TemporaryFile(/tmp/multipartBody1409240196920943008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442323421,"filename":"image_17082025_01_43_19_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672496","file1":"1377672489","file0":"1377672488","file4":"1377672502","file5":"1377672504","file3":"1377672498"},"map_files_photo_id_array":[{"photo_id":"1377672504","filename":"file5"},{"photo_id":"1377672496","filename":"file2"},{"photo_id":"1377672502","filename":"file4"},{"photo_id":"1377672489","filename":"file1"},{"photo_id":"1377672488","filename":"file0"},{"photo_id":"1377672498","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672502":["hashtag1","hashtag2"]},{"1377672489":["hashtag1","hashtag2"]},{"1377672498":["hashtag1","hashtag2"]},{"1377672504":["hashtag1","hashtag2"]},{"1377672488":["hashtag1","hashtag2"]},{"1377672496":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672502, 1377672489, 1377672498, 1377672504, 1377672488, 1377672496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28539681434631 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:52:02.421553
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/44/image_17082025_01_44_19_10360.jpg', '/media/data/images/17082025/01/44/image_17082025_01_44_28_9127.jpg', '/media/data/images/17082025/01/44/image_17082025_01_44_49_10460.jpg', '/media/data/images/17082025/01/44/image_17082025_01_44_58_9274.jpg', '/media/data/images/17082025/01/45/image_17082025_01_45_08_10260.jpg', '/media/data/images/17082025/01/45/image_17082025_01_45_28_9259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/44/image_17082025_01_44_19_10360.jpg
/media/data/images/17082025/01/44/image_17082025_01_44_28_9127.jpg
/media/data/images/17082025/01/44/image_17082025_01_44_49_10460.jpg
/media/data/images/17082025/01/44/image_17082025_01_44_58_9274.jpg
/media/data/images/17082025/01/45/image_17082025_01_45_08_10260.jpg
/media/data/images/17082025/01/45/image_17082025_01_45_28_9259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672525","1377672528","1377672513","1377672533","1377672530","1377672518"],"photo_ids_order":["1377672513","1377672518","1377672525","1377672528","1377672530","1377672533"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ff17cd0cd2077bf366d32e74c82c59b.jpg","text":"TemporaryFile(/tmp/multipartBody5054981448435659248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_44_49_10460.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0f8c053a11506b5350bee997355981f.jpg","text":"TemporaryFile(/tmp/multipartBody9008148790144185567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_44_58_9274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/54df1d50fafd3ce3a0895b83e9f7e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody57984055347498390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_44_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf7724b7e804b3d3481eea99c48b1377.jpg","text":"TemporaryFile(/tmp/multipartBody5651494305228806887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_45_28_9259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22c3392eb9459aeb0161163561fe1030.jpg","text":"TemporaryFile(/tmp/multipartBody8369439562270986610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_45_08_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a3a6f05b0fdb4f05f331bdcf21689070.jpg","text":"TemporaryFile(/tmp/multipartBody6731081825339994579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442383370,"filename":"image_17082025_01_44_28_9127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672525","file1":"1377672518","file0":"1377672513","file4":"1377672530","file5":"1377672533","file3":"1377672528"},"map_files_photo_id_array":[{"photo_id":"1377672533","filename":"file5"},{"photo_id":"1377672525","filename":"file2"},{"photo_id":"1377672530","filename":"file4"},{"photo_id":"1377672518","filename":"file1"},{"photo_id":"1377672513","filename":"file0"},{"photo_id":"1377672528","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672525":["hashtag1","hashtag2"]},{"1377672528":["hashtag1","hashtag2"]},{"1377672513":["hashtag1","hashtag2"]},{"1377672533":["hashtag1","hashtag2"]},{"1377672530":["hashtag1","hashtag2"]},{"1377672518":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672525, 1377672528, 1377672513, 1377672533, 1377672530, 1377672518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.411035776138306 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:53:02.919852
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/45/image_17082025_01_45_38_10468.jpg', '/media/data/images/17082025/01/45/image_17082025_01_45_49_10370.jpg', '/media/data/images/17082025/01/45/image_17082025_01_45_58_9164.jpg', '/media/data/images/17082025/01/45/image_17082025_01_46_09_10725.jpg', '/media/data/images/17082025/01/46/image_17082025_01_46_28_10505.jpg', '/media/data/images/17082025/01/46/image_17082025_01_46_39_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/45/image_17082025_01_45_38_10468.jpg
/media/data/images/17082025/01/45/image_17082025_01_45_49_10370.jpg
/media/data/images/17082025/01/45/image_17082025_01_45_58_9164.jpg
/media/data/images/17082025/01/45/image_17082025_01_46_09_10725.jpg
/media/data/images/17082025/01/46/image_17082025_01_46_28_10505.jpg
/media/data/images/17082025/01/46/image_17082025_01_46_39_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672556","1377672538","1377672558","1377672552","1377672546","1377672554"],"photo_ids_order":["1377672538","1377672546","1377672552","1377672554","1377672556","1377672558"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/816a71e448f8dff6e74b4b73775d3528.jpg","text":"TemporaryFile(/tmp/multipartBody6676187849693613012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_46_28_10505.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/647708d5503f2b2bf1bbb6773147d54c.jpg","text":"TemporaryFile(/tmp/multipartBody8316538514750837475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_45_38_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/360037619b05d910baaa06f9aa0b33a5.jpg","text":"TemporaryFile(/tmp/multipartBody933312667910974020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_46_39_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a74b278a9aab3373a66e8569c8f13d83.jpg","text":"TemporaryFile(/tmp/multipartBody2902710670158880216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_45_58_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc24fc208421635c25fcacde4eee12da.jpg","text":"TemporaryFile(/tmp/multipartBody1905714385591129024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_45_49_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/509242bb5c55c4707dc13fa56d24ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody5497225218680079620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442443831,"filename":"image_17082025_01_46_09_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672552","file1":"1377672546","file0":"1377672538","file4":"1377672556","file5":"1377672558","file3":"1377672554"},"map_files_photo_id_array":[{"photo_id":"1377672558","filename":"file5"},{"photo_id":"1377672552","filename":"file2"},{"photo_id":"1377672556","filename":"file4"},{"photo_id":"1377672546","filename":"file1"},{"photo_id":"1377672538","filename":"file0"},{"photo_id":"1377672554","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672556":["hashtag1","hashtag2"]},{"1377672538":["hashtag1","hashtag2"]},{"1377672558":["hashtag1","hashtag2"]},{"1377672552":["hashtag1","hashtag2"]},{"1377672546":["hashtag1","hashtag2"]},{"1377672554":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672556, 1377672538, 1377672558, 1377672552, 1377672546, 1377672554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.893829345703125 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:54:02.782372
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/46/image_17082025_01_46_58_10353.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_08_10220.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_18_9155.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_28_10432.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_38_9559.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_48_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/46/image_17082025_01_46_58_10353.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_08_10220.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_18_9155.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_28_10432.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_38_9559.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_48_10363.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5307612419128418 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:54:22.235401
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/46/image_17082025_01_46_58_10353.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_08_10220.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_18_9155.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_28_10432.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_38_9559.jpg', '/media/data/images/17082025/01/47/image_17082025_01_47_48_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/46/image_17082025_01_46_58_10353.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_08_10220.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_18_9155.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_28_10432.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_38_9559.jpg
/media/data/images/17082025/01/47/image_17082025_01_47_48_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672583","1377672585","1377672578","1377672587","1377672589","1377672580"],"photo_ids_order":["1377672578","1377672580","1377672583","1377672585","1377672587","1377672589"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06c02b520493112949fe910e52aea655.jpg","text":"TemporaryFile(/tmp/multipartBody2039181976207019716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_47_18_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8e18297c25b7453209b8ba5f6db21a3.jpg","text":"TemporaryFile(/tmp/multipartBody4099372526615859452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_47_28_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc164a534de2512518a3398763ee5e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2713504986079655665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_46_58_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a90a1fa2cb232b683be38742383e28ed.jpg","text":"TemporaryFile(/tmp/multipartBody4676322892851696836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_47_38_9559.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/190c31a386440e493ad9a74f11cfb0eb.jpg","text":"TemporaryFile(/tmp/multipartBody1482495125309020607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_47_48_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10ade92743972268b5ca8e48f9538e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2658886036184177631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442523139,"filename":"image_17082025_01_47_08_10220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672583","file1":"1377672580","file0":"1377672578","file4":"1377672587","file5":"1377672589","file3":"1377672585"},"map_files_photo_id_array":[{"photo_id":"1377672589","filename":"file5"},{"photo_id":"1377672583","filename":"file2"},{"photo_id":"1377672587","filename":"file4"},{"photo_id":"1377672580","filename":"file1"},{"photo_id":"1377672578","filename":"file0"},{"photo_id":"1377672585","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672583":["hashtag1","hashtag2"]},{"1377672585":["hashtag1","hashtag2"]},{"1377672578":["hashtag1","hashtag2"]},{"1377672587":["hashtag1","hashtag2"]},{"1377672589":["hashtag1","hashtag2"]},{"1377672580":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672583, 1377672585, 1377672578, 1377672587, 1377672589, 1377672580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33563756942749 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:55:22.347417
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/47/image_17082025_01_47_58_10423.jpg', '/media/data/images/17082025/01/48/image_17082025_01_48_08_9186.jpg', '/media/data/images/17082025/01/48/image_17082025_01_48_39_10354.jpg', '/media/data/images/17082025/01/48/image_17082025_01_48_58_10351.jpg', '/media/data/images/17082025/01/49/image_17082025_01_49_08_10211.jpg', '/media/data/images/17082025/01/49/image_17082025_01_49_19_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/47/image_17082025_01_47_58_10423.jpg
/media/data/images/17082025/01/48/image_17082025_01_48_08_9186.jpg
/media/data/images/17082025/01/48/image_17082025_01_48_39_10354.jpg
/media/data/images/17082025/01/48/image_17082025_01_48_58_10351.jpg
/media/data/images/17082025/01/49/image_17082025_01_49_08_10211.jpg
/media/data/images/17082025/01/49/image_17082025_01_49_19_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672613","1377672607","1377672610","1377672615","1377672602","1377672605"],"photo_ids_order":["1377672602","1377672605","1377672607","1377672610","1377672613","1377672615"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d97aee2e282fcb682d5e35e48cb417ec.jpg","text":"TemporaryFile(/tmp/multipartBody7016855584400164413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_49_08_10211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e675b2036424151277c93b1e05785f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7934271719055103470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_48_39_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/005484e2dc1c11226373c0f23face10d.jpg","text":"TemporaryFile(/tmp/multipartBody5320740385530246232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_48_58_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e23aa115a4860df26c3b7116d80e5996.jpg","text":"TemporaryFile(/tmp/multipartBody903816396799891122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_49_19_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f416bcd2beb85ed9276819ae748d48e.jpg","text":"TemporaryFile(/tmp/multipartBody7223822057262049295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_47_58_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3e841a6fd7d5c960e8edf158f3f1ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5775552386155611056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442583288,"filename":"image_17082025_01_48_08_9186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672607","file1":"1377672605","file0":"1377672602","file4":"1377672613","file5":"1377672615","file3":"1377672610"},"map_files_photo_id_array":[{"photo_id":"1377672615","filename":"file5"},{"photo_id":"1377672607","filename":"file2"},{"photo_id":"1377672613","filename":"file4"},{"photo_id":"1377672605","filename":"file1"},{"photo_id":"1377672602","filename":"file0"},{"photo_id":"1377672610","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672613":["hashtag1","hashtag2"]},{"1377672607":["hashtag1","hashtag2"]},{"1377672610":["hashtag1","hashtag2"]},{"1377672615":["hashtag1","hashtag2"]},{"1377672602":["hashtag1","hashtag2"]},{"1377672605":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672613, 1377672607, 1377672610, 1377672615, 1377672602, 1377672605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.822157859802246 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:56:22.453555
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/49/image_17082025_01_49_28_9196.jpg', '/media/data/images/17082025/01/49/image_17082025_01_49_39_10470.jpg', '/media/data/images/17082025/01/49/image_17082025_01_50_09_10515.jpg', '/media/data/images/17082025/01/50/image_17082025_01_50_58_10367.jpg', '/media/data/images/17082025/01/51/image_17082025_01_51_18_9146.jpg', '/media/data/images/17082025/01/51/image_17082025_01_51_28_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/49/image_17082025_01_49_28_9196.jpg
/media/data/images/17082025/01/49/image_17082025_01_49_39_10470.jpg
/media/data/images/17082025/01/49/image_17082025_01_50_09_10515.jpg
/media/data/images/17082025/01/50/image_17082025_01_50_58_10367.jpg
/media/data/images/17082025/01/51/image_17082025_01_51_18_9146.jpg
/media/data/images/17082025/01/51/image_17082025_01_51_28_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672637","1377672631","1377672633","1377672632","1377672635","1377672629"],"photo_ids_order":["1377672629","1377672631","1377672632","1377672633","1377672635","1377672637"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/790b899fe151db93c4066b85a1d0ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody768213130466391722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_51_28_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/185fe8f0eea92cff431f09232b7a316e.jpg","text":"TemporaryFile(/tmp/multipartBody9118239558798247179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_49_39_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de9fb017fa05b08a48436d27c83b68ed.jpg","text":"TemporaryFile(/tmp/multipartBody6953489002741375802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_50_58_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c205139c5403f55c3ec8082c18887b89.jpg","text":"TemporaryFile(/tmp/multipartBody8378827213956452213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_50_09_10515.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e88816d650b67c8595db95955370aede.jpg","text":"TemporaryFile(/tmp/multipartBody7543011528463930935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_51_18_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3620cf99c0464d23037e4aa546b7d75.jpg","text":"TemporaryFile(/tmp/multipartBody967860958291608961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442643384,"filename":"image_17082025_01_49_28_9196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672632","file1":"1377672631","file0":"1377672629","file4":"1377672635","file5":"1377672637","file3":"1377672633"},"map_files_photo_id_array":[{"photo_id":"1377672637","filename":"file5"},{"photo_id":"1377672632","filename":"file2"},{"photo_id":"1377672635","filename":"file4"},{"photo_id":"1377672631","filename":"file1"},{"photo_id":"1377672629","filename":"file0"},{"photo_id":"1377672633","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672637":["hashtag1","hashtag2"]},{"1377672631":["hashtag1","hashtag2"]},{"1377672633":["hashtag1","hashtag2"]},{"1377672632":["hashtag1","hashtag2"]},{"1377672635":["hashtag1","hashtag2"]},{"1377672629":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672637, 1377672631, 1377672633, 1377672632, 1377672635, 1377672629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07684063911438 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:57:22.522681
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/51/image_17082025_01_51_48_9225.jpg', '/media/data/images/17082025/01/52/image_17082025_01_52_09_10446.jpg', '/media/data/images/17082025/01/52/image_17082025_01_52_18_9194.jpg', '/media/data/images/17082025/01/52/image_17082025_01_52_28_10418.jpg', '/media/data/images/17082025/01/52/image_17082025_01_52_48_9194.jpg', '/media/data/images/17082025/01/52/image_17082025_01_52_58_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/51/image_17082025_01_51_48_9225.jpg
/media/data/images/17082025/01/52/image_17082025_01_52_09_10446.jpg
/media/data/images/17082025/01/52/image_17082025_01_52_18_9194.jpg
/media/data/images/17082025/01/52/image_17082025_01_52_28_10418.jpg
/media/data/images/17082025/01/52/image_17082025_01_52_48_9194.jpg
/media/data/images/17082025/01/52/image_17082025_01_52_58_10424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672661","1377672654","1377672657","1377672651","1377672659","1377672653"],"photo_ids_order":["1377672651","1377672653","1377672654","1377672657","1377672659","1377672661"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f0226d4338b75f0b77819ba80c7b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody3710460697049602539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_52_58_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6f74da3dd493b4e4b16425d71e3e0aa.jpg","text":"TemporaryFile(/tmp/multipartBody8693201016546438935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_52_18_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0fbfb19fafb0674aa6d6f8d58a5b84c.jpg","text":"TemporaryFile(/tmp/multipartBody2469881436247868422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_52_28_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36f7f41b1b82f32cfe6e9c8a950b1286.jpg","text":"TemporaryFile(/tmp/multipartBody5799775954198315634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_51_48_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3845d90f53462b0e35b7e7b7dd6ec1ed.jpg","text":"TemporaryFile(/tmp/multipartBody5839263527540354566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_52_48_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e3177a5acf4ec057ebf7a2e503eac3c.jpg","text":"TemporaryFile(/tmp/multipartBody4719427239057327799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442703471,"filename":"image_17082025_01_52_09_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672654","file1":"1377672653","file0":"1377672651","file4":"1377672659","file5":"1377672661","file3":"1377672657"},"map_files_photo_id_array":[{"photo_id":"1377672661","filename":"file5"},{"photo_id":"1377672654","filename":"file2"},{"photo_id":"1377672659","filename":"file4"},{"photo_id":"1377672653","filename":"file1"},{"photo_id":"1377672651","filename":"file0"},{"photo_id":"1377672657","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672661":["hashtag1","hashtag2"]},{"1377672654":["hashtag1","hashtag2"]},{"1377672657":["hashtag1","hashtag2"]},{"1377672651":["hashtag1","hashtag2"]},{"1377672659":["hashtag1","hashtag2"]},{"1377672653":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672661, 1377672654, 1377672657, 1377672651, 1377672659, 1377672653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.940948247909546 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 16:59:03.416561
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/53/image_17082025_01_53_08_9280.jpg', '/media/data/images/17082025/01/53/image_17082025_01_53_18_10401.jpg', '/media/data/images/17082025/01/53/image_17082025_01_53_28_10476.jpg', '/media/data/images/17082025/01/53/image_17082025_01_53_38_9169.jpg', '/media/data/images/17082025/01/53/image_17082025_01_53_48_10470.jpg', '/media/data/images/17082025/01/53/image_17082025_01_53_59_10553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/53/image_17082025_01_53_08_9280.jpg
/media/data/images/17082025/01/53/image_17082025_01_53_18_10401.jpg
/media/data/images/17082025/01/53/image_17082025_01_53_28_10476.jpg
/media/data/images/17082025/01/53/image_17082025_01_53_38_9169.jpg
/media/data/images/17082025/01/53/image_17082025_01_53_48_10470.jpg
/media/data/images/17082025/01/53/image_17082025_01_53_59_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672682","1377672685","1377672672","1377672669","1377672680","1377672688"],"photo_ids_order":["1377672669","1377672672","1377672680","1377672682","1377672685","1377672688"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b448b262e3e024da937c243964f37da.jpg","text":"TemporaryFile(/tmp/multipartBody3658353949549143809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_38_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a3fd8c7fc51ebc8e69c4dd959a6fda3e.jpg","text":"TemporaryFile(/tmp/multipartBody1176910308015358516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_48_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5b9d1643bc3211809498d9ff2c873f3.jpg","text":"TemporaryFile(/tmp/multipartBody4369545724318625615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_18_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5f9d3214b4fcfac31c0a2f0c02c470d.jpg","text":"TemporaryFile(/tmp/multipartBody5105003819776861896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_08_9280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4841228878585650ed1c4fd52684e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8595804840855543737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_28_10476.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44babe9f2fb2cf19b28cb4af654dafad.jpg","text":"TemporaryFile(/tmp/multipartBody739523960647894592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442804466,"filename":"image_17082025_01_53_59_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672680","file1":"1377672672","file0":"1377672669","file4":"1377672685","file5":"1377672688","file3":"1377672682"},"map_files_photo_id_array":[{"photo_id":"1377672688","filename":"file5"},{"photo_id":"1377672680","filename":"file2"},{"photo_id":"1377672685","filename":"file4"},{"photo_id":"1377672672","filename":"file1"},{"photo_id":"1377672669","filename":"file0"},{"photo_id":"1377672682","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672682":["hashtag1","hashtag2"]},{"1377672685":["hashtag1","hashtag2"]},{"1377672672":["hashtag1","hashtag2"]},{"1377672669":["hashtag1","hashtag2"]},{"1377672680":["hashtag1","hashtag2"]},{"1377672688":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672682, 1377672685, 1377672672, 1377672669, 1377672680, 1377672688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70157504081726 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:00:02.285915
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/54/image_17082025_01_54_18_10455.jpg', '/media/data/images/17082025/01/54/image_17082025_01_54_38_9190.jpg', '/media/data/images/17082025/01/54/image_17082025_01_54_59_10428.jpg', '/media/data/images/17082025/01/55/image_17082025_01_55_18_10450.jpg', '/media/data/images/17082025/01/55/image_17082025_01_55_29_10412.jpg', '/media/data/images/17082025/01/56/image_17082025_01_56_08_9216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/54/image_17082025_01_54_18_10455.jpg
/media/data/images/17082025/01/54/image_17082025_01_54_38_9190.jpg
/media/data/images/17082025/01/54/image_17082025_01_54_59_10428.jpg
/media/data/images/17082025/01/55/image_17082025_01_55_18_10450.jpg
/media/data/images/17082025/01/55/image_17082025_01_55_29_10412.jpg
/media/data/images/17082025/01/56/image_17082025_01_56_08_9216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672823","1377672753","1377672924","1377672890","1377672857","1377672785"],"photo_ids_order":["1377672753","1377672785","1377672823","1377672857","1377672890","1377672924"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0b702597f8c6057a06816b8dec28619.jpg","text":"TemporaryFile(/tmp/multipartBody3552564607571111998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_54_59_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f21a5dcb2c8fd4d755f3629194c4066d.jpg","text":"TemporaryFile(/tmp/multipartBody154844487106543918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_54_18_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9444e5e08cb2480b9db069b430496996.jpg","text":"TemporaryFile(/tmp/multipartBody3177354031154286516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_56_08_9216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2ec9a8201e0be72d600ff3eb4bf2fbbd.jpg","text":"TemporaryFile(/tmp/multipartBody4402184741827353325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_55_29_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fd47e6e6443d6b93607e115e7d75a9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3053900398463864536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_55_18_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c908dd500f85d0ea93be6b2a3663e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody2370372534805969554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442864154,"filename":"image_17082025_01_54_38_9190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672823","file1":"1377672785","file0":"1377672753","file4":"1377672890","file5":"1377672924","file3":"1377672857"},"map_files_photo_id_array":[{"photo_id":"1377672924","filename":"file5"},{"photo_id":"1377672823","filename":"file2"},{"photo_id":"1377672890","filename":"file4"},{"photo_id":"1377672785","filename":"file1"},{"photo_id":"1377672753","filename":"file0"},{"photo_id":"1377672857","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377672823":["hashtag1","hashtag2"]},{"1377672753":["hashtag1","hashtag2"]},{"1377672924":["hashtag1","hashtag2"]},{"1377672890":["hashtag1","hashtag2"]},{"1377672857":["hashtag1","hashtag2"]},{"1377672785":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377672823, 1377672753, 1377672924, 1377672890, 1377672857, 1377672785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.217960834503174 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:01:02.422420
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/56/image_17082025_01_56_48_10406.jpg', '/media/data/images/17082025/01/57/image_17082025_01_57_08_9187.jpg', '/media/data/images/17082025/01/57/image_17082025_01_57_18_10346.jpg', '/media/data/images/17082025/01/57/image_17082025_01_57_29_10408.jpg', '/media/data/images/17082025/01/57/image_17082025_01_57_38_9248.jpg', '/media/data/images/17082025/01/57/image_17082025_01_57_48_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/56/image_17082025_01_56_48_10406.jpg
/media/data/images/17082025/01/57/image_17082025_01_57_08_9187.jpg
/media/data/images/17082025/01/57/image_17082025_01_57_18_10346.jpg
/media/data/images/17082025/01/57/image_17082025_01_57_29_10408.jpg
/media/data/images/17082025/01/57/image_17082025_01_57_38_9248.jpg
/media/data/images/17082025/01/57/image_17082025_01_57_48_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377673449","1377673317","1377673184","1377673247","1377673514","1377673381"],"photo_ids_order":["1377673184","1377673247","1377673317","1377673381","1377673449","1377673514"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5effa6fbca94d0ec9e0c31a806fcc80d.jpg","text":"TemporaryFile(/tmp/multipartBody2592298365476923532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_57_38_9248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0643c9974f11373fc0a570d5c179148.jpg","text":"TemporaryFile(/tmp/multipartBody9143245852778379690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_57_18_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c4091e88a965d6c20a28a3cb18318217.jpg","text":"TemporaryFile(/tmp/multipartBody4275599538735611708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_56_48_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8d4a566ecd5bb102f9ed7be875888ae.jpg","text":"TemporaryFile(/tmp/multipartBody7023880159444703081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_57_08_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3788e529d71d933d82542de9dcec4eae.jpg","text":"TemporaryFile(/tmp/multipartBody1298342884292185139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_57_48_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fdf1ac41a4a7fbac509e7a2b3acd9e10.jpg","text":"TemporaryFile(/tmp/multipartBody2591346960669094339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442923412,"filename":"image_17082025_01_57_29_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377673317","file1":"1377673247","file0":"1377673184","file4":"1377673449","file5":"1377673514","file3":"1377673381"},"map_files_photo_id_array":[{"photo_id":"1377673514","filename":"file5"},{"photo_id":"1377673317","filename":"file2"},{"photo_id":"1377673449","filename":"file4"},{"photo_id":"1377673247","filename":"file1"},{"photo_id":"1377673184","filename":"file0"},{"photo_id":"1377673381","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377673449":["hashtag1","hashtag2"]},{"1377673317":["hashtag1","hashtag2"]},{"1377673184":["hashtag1","hashtag2"]},{"1377673247":["hashtag1","hashtag2"]},{"1377673514":["hashtag1","hashtag2"]},{"1377673381":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377673449, 1377673317, 1377673184, 1377673247, 1377673514, 1377673381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46874809265137 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:02:02.395116
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/57/image_17082025_01_57_59_10364.jpg', '/media/data/images/17082025/01/58/image_17082025_01_58_08_9364.jpg', '/media/data/images/17082025/01/58/image_17082025_01_58_38_9121.jpg', '/media/data/images/17082025/01/59/image_17082025_01_59_09_10242.jpg', '/media/data/images/17082025/01/59/image_17082025_01_59_18_9137.jpg', '/media/data/images/17082025/01/59/image_17082025_01_59_28_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/57/image_17082025_01_57_59_10364.jpg
/media/data/images/17082025/01/58/image_17082025_01_58_08_9364.jpg
/media/data/images/17082025/01/58/image_17082025_01_58_38_9121.jpg
/media/data/images/17082025/01/59/image_17082025_01_59_09_10242.jpg
/media/data/images/17082025/01/59/image_17082025_01_59_18_9137.jpg
/media/data/images/17082025/01/59/image_17082025_01_59_28_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377674028","1377674156","1377673895","1377674222","1377674091","1377673960"],"photo_ids_order":["1377673895","1377673960","1377674028","1377674091","1377674156","1377674222"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ffe2330bfba35ab8211716ce72279461.jpg","text":"TemporaryFile(/tmp/multipartBody7984984936903742901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_58_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e8ec5dd4f175fe47e1cac6a0af63605.jpg","text":"TemporaryFile(/tmp/multipartBody2306661902886674106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_59_18_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/756fd7480091ae403bd7e2995eb7f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4059152044316822428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_57_59_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0c5f1a8f85305b2017dadf1ddb4fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1897071767377471387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_59_28_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb1616db9a365cf542aa5e291de30665.jpg","text":"TemporaryFile(/tmp/multipartBody1800785389699173306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_59_09_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a24eeb5dbfce9079a9bc7695427027fb.jpg","text":"TemporaryFile(/tmp/multipartBody1054750419229342864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442983358,"filename":"image_17082025_01_58_08_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377674028","file1":"1377673960","file0":"1377673895","file4":"1377674156","file5":"1377674222","file3":"1377674091"},"map_files_photo_id_array":[{"photo_id":"1377674222","filename":"file5"},{"photo_id":"1377674028","filename":"file2"},{"photo_id":"1377674156","filename":"file4"},{"photo_id":"1377673960","filename":"file1"},{"photo_id":"1377673895","filename":"file0"},{"photo_id":"1377674091","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377674028":["hashtag1","hashtag2"]},{"1377674156":["hashtag1","hashtag2"]},{"1377673895":["hashtag1","hashtag2"]},{"1377674222":["hashtag1","hashtag2"]},{"1377674091":["hashtag1","hashtag2"]},{"1377673960":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377674028, 1377674156, 1377673895, 1377674222, 1377674091, 1377673960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.720760345458984 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:03:02.745552
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/01/59/image_17082025_01_59_39_10383.jpg', '/media/data/images/17082025/01/59/image_17082025_01_59_48_9117.jpg', '/media/data/images/17082025/01/59/image_17082025_01_59_58_10397.jpg', '/media/data/images/17082025/02/00/image_17082025_02_00_08_10227.jpg', '/media/data/images/17082025/02/00/image_17082025_02_00_19_10424.jpg', '/media/data/images/17082025/02/00/image_17082025_02_00_28_9192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/01/59/image_17082025_01_59_39_10383.jpg
/media/data/images/17082025/01/59/image_17082025_01_59_48_9117.jpg
/media/data/images/17082025/01/59/image_17082025_01_59_58_10397.jpg
/media/data/images/17082025/02/00/image_17082025_02_00_08_10227.jpg
/media/data/images/17082025/02/00/image_17082025_02_00_19_10424.jpg
/media/data/images/17082025/02/00/image_17082025_02_00_28_9192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675009","1377674937","1377674975","1377674885","1377675043","1377674824"],"photo_ids_order":["1377674824","1377674885","1377674937","1377674975","1377675009","1377675043"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f461b3253b49614a40e6aaecddcd99f5.jpg","text":"TemporaryFile(/tmp/multipartBody2894618540159386983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_02_00_19_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/efbb3ac1feea61afbbb454e40ed9f039.jpg","text":"TemporaryFile(/tmp/multipartBody1475860981770882993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_01_59_58_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dd19da2998290b33608f7900b089540.jpg","text":"TemporaryFile(/tmp/multipartBody4857418161556669902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_02_00_08_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d449eaa6ad0f97bf2656166623f55b3.jpg","text":"TemporaryFile(/tmp/multipartBody2102493778381775706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_01_59_48_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd221d1f2b9ac2d284a8bc455000395d.jpg","text":"TemporaryFile(/tmp/multipartBody5417506026658735294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_02_00_28_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/afabf37819ee5a90bb3b525e5d87e2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6759403697627058689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443043697,"filename":"image_17082025_01_59_39_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377674937","file1":"1377674885","file0":"1377674824","file4":"1377675009","file5":"1377675043","file3":"1377674975"},"map_files_photo_id_array":[{"photo_id":"1377675043","filename":"file5"},{"photo_id":"1377674937","filename":"file2"},{"photo_id":"1377675009","filename":"file4"},{"photo_id":"1377674885","filename":"file1"},{"photo_id":"1377674824","filename":"file0"},{"photo_id":"1377674975","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377675009":["hashtag1","hashtag2"]},{"1377674937":["hashtag1","hashtag2"]},{"1377674975":["hashtag1","hashtag2"]},{"1377674885":["hashtag1","hashtag2"]},{"1377675043":["hashtag1","hashtag2"]},{"1377674824":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377675009, 1377674937, 1377674975, 1377674885, 1377675043, 1377674824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74932622909546 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:04:02.792439
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/00/image_17082025_02_00_49_10359.jpg', '/media/data/images/17082025/02/00/image_17082025_02_00_58_9192.jpg', '/media/data/images/17082025/02/00/image_17082025_02_01_08_10439.jpg', '/media/data/images/17082025/02/01/image_17082025_02_01_19_10434.jpg', '/media/data/images/17082025/02/01/image_17082025_02_01_48_9229.jpg', '/media/data/images/17082025/02/01/image_17082025_02_01_58_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/00/image_17082025_02_00_49_10359.jpg
/media/data/images/17082025/02/00/image_17082025_02_00_58_9192.jpg
/media/data/images/17082025/02/00/image_17082025_02_01_08_10439.jpg
/media/data/images/17082025/02/01/image_17082025_02_01_19_10434.jpg
/media/data/images/17082025/02/01/image_17082025_02_01_48_9229.jpg
/media/data/images/17082025/02/01/image_17082025_02_01_58_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675362","1377675661","1377675556","1377675619","1377675492","1377675424"],"photo_ids_order":["1377675362","1377675424","1377675492","1377675556","1377675619","1377675661"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71a837122d76f93cc083a21cd0c3f6de.jpg","text":"TemporaryFile(/tmp/multipartBody5009855462827730850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_00_49_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/579f792213e3fc3d03aa8166fbf54085.jpg","text":"TemporaryFile(/tmp/multipartBody3968703149398326175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_01_58_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd0050280831766ead54e92da64c3ade.jpg","text":"TemporaryFile(/tmp/multipartBody7871173200146567931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_01_19_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2afa54f0aa1fd76f2e5d91ca3126ac65.jpg","text":"TemporaryFile(/tmp/multipartBody6867399232769947364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_01_48_9229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85704ee912b15d9846332209520f157a.jpg","text":"TemporaryFile(/tmp/multipartBody8744514834437655383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_01_08_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c34890f9242e941e1259ecba432e1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3804878767947589703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443103744,"filename":"image_17082025_02_00_58_9192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377675492","file1":"1377675424","file0":"1377675362","file4":"1377675619","file5":"1377675661","file3":"1377675556"},"map_files_photo_id_array":[{"photo_id":"1377675661","filename":"file5"},{"photo_id":"1377675492","filename":"file2"},{"photo_id":"1377675619","filename":"file4"},{"photo_id":"1377675424","filename":"file1"},{"photo_id":"1377675362","filename":"file0"},{"photo_id":"1377675556","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377675362":["hashtag1","hashtag2"]},{"1377675661":["hashtag1","hashtag2"]},{"1377675556":["hashtag1","hashtag2"]},{"1377675619":["hashtag1","hashtag2"]},{"1377675492":["hashtag1","hashtag2"]},{"1377675424":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377675362, 1377675661, 1377675556, 1377675619, 1377675492, 1377675424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47824716567993 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:05:02.986367
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/01/image_17082025_02_02_08_10463.jpg', '/media/data/images/17082025/02/02/image_17082025_02_02_18_9181.jpg', '/media/data/images/17082025/02/02/image_17082025_02_02_28_10421.jpg', '/media/data/images/17082025/02/02/image_17082025_02_02_38_10349.jpg', '/media/data/images/17082025/02/02/image_17082025_02_02_58_9223.jpg', '/media/data/images/17082025/02/02/image_17082025_02_03_09_10582.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/01/image_17082025_02_02_08_10463.jpg
/media/data/images/17082025/02/02/image_17082025_02_02_18_9181.jpg
/media/data/images/17082025/02/02/image_17082025_02_02_28_10421.jpg
/media/data/images/17082025/02/02/image_17082025_02_02_38_10349.jpg
/media/data/images/17082025/02/02/image_17082025_02_02_58_9223.jpg
/media/data/images/17082025/02/02/image_17082025_02_03_09_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675899","1377675892","1377675891","1377676002","1377675960","1377675927"],"photo_ids_order":["1377675891","1377675892","1377675899","1377675927","1377675960","1377676002"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74438a6f0a4dad72e381e1e958b9eb20.jpg","text":"TemporaryFile(/tmp/multipartBody4042017323919947624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_02_28_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc3c01abecb0e74af11c86d868e72d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3967992631911397648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_02_18_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b55d52e67c775754cc60457d8bf53c2.jpg","text":"TemporaryFile(/tmp/multipartBody653155966493308288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_02_08_10463.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e30596f0471c2134595ba21b3313a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1350528871918448214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_03_09_10582.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31014b9e9e2fd917f67abb6ccf65b122.jpg","text":"TemporaryFile(/tmp/multipartBody1969869937199804030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_02_58_9223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49b2d0458ad2e483bf0d94717d5bf333.jpg","text":"TemporaryFile(/tmp/multipartBody802391654927569867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443163958,"filename":"image_17082025_02_02_38_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377675899","file1":"1377675892","file0":"1377675891","file4":"1377675960","file5":"1377676002","file3":"1377675927"},"map_files_photo_id_array":[{"photo_id":"1377676002","filename":"file5"},{"photo_id":"1377675899","filename":"file2"},{"photo_id":"1377675960","filename":"file4"},{"photo_id":"1377675892","filename":"file1"},{"photo_id":"1377675891","filename":"file0"},{"photo_id":"1377675927","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377675899":["hashtag1","hashtag2"]},{"1377675892":["hashtag1","hashtag2"]},{"1377675891":["hashtag1","hashtag2"]},{"1377676002":["hashtag1","hashtag2"]},{"1377675960":["hashtag1","hashtag2"]},{"1377675927":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377675899, 1377675892, 1377675891, 1377676002, 1377675960, 1377675927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83080506324768 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:06:02.841920
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/03/image_17082025_02_03_18_9126.jpg', '/media/data/images/17082025/02/03/image_17082025_02_03_28_10361.jpg', '/media/data/images/17082025/02/03/image_17082025_02_03_39_10468.jpg', '/media/data/images/17082025/02/03/image_17082025_02_03_48_9187.jpg', '/media/data/images/17082025/02/04/image_17082025_02_04_09_10466.jpg', '/media/data/images/17082025/02/04/image_17082025_02_04_18_9149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/03/image_17082025_02_03_18_9126.jpg
/media/data/images/17082025/02/03/image_17082025_02_03_28_10361.jpg
/media/data/images/17082025/02/03/image_17082025_02_03_39_10468.jpg
/media/data/images/17082025/02/03/image_17082025_02_03_48_9187.jpg
/media/data/images/17082025/02/04/image_17082025_02_04_09_10466.jpg
/media/data/images/17082025/02/04/image_17082025_02_04_18_9149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676104","1377676088","1377676092","1377676098","1377676107","1377676101"],"photo_ids_order":["1377676088","1377676092","1377676098","1377676101","1377676104","1377676107"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a4548714b8940e85754f04fd10ff1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6680952705663448132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_04_09_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3ef443590411960257d6898966a5069.jpg","text":"TemporaryFile(/tmp/multipartBody4513791040350289897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_03_18_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6b1cfd75e38976371dac7c1b1686eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6533640011280057444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_03_28_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e31e275dfdd3a48d5d28444bd74c6896.jpg","text":"TemporaryFile(/tmp/multipartBody3621735371865683241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_03_39_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d050925f00f995c2070910ae4eee93b.jpg","text":"TemporaryFile(/tmp/multipartBody532921558162983452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_04_18_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d60625a014f901e30af7f2f049daa698.jpg","text":"TemporaryFile(/tmp/multipartBody2525124745971364072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443223828,"filename":"image_17082025_02_03_48_9187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676098","file1":"1377676092","file0":"1377676088","file4":"1377676104","file5":"1377676107","file3":"1377676101"},"map_files_photo_id_array":[{"photo_id":"1377676107","filename":"file5"},{"photo_id":"1377676098","filename":"file2"},{"photo_id":"1377676104","filename":"file4"},{"photo_id":"1377676092","filename":"file1"},{"photo_id":"1377676088","filename":"file0"},{"photo_id":"1377676101","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676104":["hashtag1","hashtag2"]},{"1377676088":["hashtag1","hashtag2"]},{"1377676092":["hashtag1","hashtag2"]},{"1377676098":["hashtag1","hashtag2"]},{"1377676107":["hashtag1","hashtag2"]},{"1377676101":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676104, 1377676088, 1377676092, 1377676098, 1377676107, 1377676101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22737407684326 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:07:03.210692
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/04/image_17082025_02_04_28_10349.jpg', '/media/data/images/17082025/02/04/image_17082025_02_04_39_10429.jpg', '/media/data/images/17082025/02/04/image_17082025_02_04_58_10413.jpg', '/media/data/images/17082025/02/05/image_17082025_02_05_09_10451.jpg', '/media/data/images/17082025/02/05/image_17082025_02_05_18_9171.jpg', '/media/data/images/17082025/02/05/image_17082025_02_05_28_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/04/image_17082025_02_04_28_10349.jpg
/media/data/images/17082025/02/04/image_17082025_02_04_39_10429.jpg
/media/data/images/17082025/02/04/image_17082025_02_04_58_10413.jpg
/media/data/images/17082025/02/05/image_17082025_02_05_09_10451.jpg
/media/data/images/17082025/02/05/image_17082025_02_05_18_9171.jpg
/media/data/images/17082025/02/05/image_17082025_02_05_28_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676124","1377676132","1377676126","1377676129","1377676114","1377676116"],"photo_ids_order":["1377676114","1377676116","1377676124","1377676126","1377676129","1377676132"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/271f63e765ad67f90b8928c4f50db5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2743084372777051405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_04_58_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/27c72c84f1f555ddea36c075cdf9a632.jpg","text":"TemporaryFile(/tmp/multipartBody453794368303961427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_05_28_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bdf90d9244eb2a13877fc64dafdc5c65.jpg","text":"TemporaryFile(/tmp/multipartBody5602385196090575748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_05_09_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a96a002752695fb6b09f19da4181a35.jpg","text":"TemporaryFile(/tmp/multipartBody2493002004882086056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_05_18_9171.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e68d2db4280653116f99a247f88fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody7320773771920160910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_04_28_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e00d5e0a4e5b62ebfa24c12ab08f1ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8811942328716948566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443284181,"filename":"image_17082025_02_04_39_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676124","file1":"1377676116","file0":"1377676114","file4":"1377676129","file5":"1377676132","file3":"1377676126"},"map_files_photo_id_array":[{"photo_id":"1377676132","filename":"file5"},{"photo_id":"1377676124","filename":"file2"},{"photo_id":"1377676129","filename":"file4"},{"photo_id":"1377676116","filename":"file1"},{"photo_id":"1377676114","filename":"file0"},{"photo_id":"1377676126","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676124":["hashtag1","hashtag2"]},{"1377676132":["hashtag1","hashtag2"]},{"1377676126":["hashtag1","hashtag2"]},{"1377676129":["hashtag1","hashtag2"]},{"1377676114":["hashtag1","hashtag2"]},{"1377676116":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676124, 1377676132, 1377676126, 1377676129, 1377676114, 1377676116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45925736427307 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:08:03.077192
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/05/image_17082025_02_05_39_10454.jpg', '/media/data/images/17082025/02/05/image_17082025_02_05_58_10361.jpg', '/media/data/images/17082025/02/06/image_17082025_02_06_08_10181.jpg', '/media/data/images/17082025/02/06/image_17082025_02_06_19_10386.jpg', '/media/data/images/17082025/02/06/image_17082025_02_06_28_9130.jpg', '/media/data/images/17082025/02/06/image_17082025_02_06_49_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/05/image_17082025_02_05_39_10454.jpg
/media/data/images/17082025/02/05/image_17082025_02_05_58_10361.jpg
/media/data/images/17082025/02/06/image_17082025_02_06_08_10181.jpg
/media/data/images/17082025/02/06/image_17082025_02_06_19_10386.jpg
/media/data/images/17082025/02/06/image_17082025_02_06_28_9130.jpg
/media/data/images/17082025/02/06/image_17082025_02_06_49_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676148","1377676150","1377676144","1377676147","1377676149","1377676137"],"photo_ids_order":["1377676137","1377676144","1377676147","1377676148","1377676149","1377676150"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1fd012be27eaa69e0dd6772bdede2aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1407504110475739711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_06_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bc92e0880f3d919f2f48d608f659de9.jpg","text":"TemporaryFile(/tmp/multipartBody9098749249849961704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_06_49_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e55c350a2fe81bcfcd98bc5cd2ade687.jpg","text":"TemporaryFile(/tmp/multipartBody6304902183451888027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_05_58_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b78fb8bc49df7c6554d4af776adcfad2.jpg","text":"TemporaryFile(/tmp/multipartBody5065937877965425496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_06_08_10181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/783a01f8be2243bd4380def8fe2b9556.jpg","text":"TemporaryFile(/tmp/multipartBody7177962598883639084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_06_28_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f80fb440237ec5e14b451bfce63db4b.jpg","text":"TemporaryFile(/tmp/multipartBody93066262445204350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443344061,"filename":"image_17082025_02_05_39_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676147","file1":"1377676144","file0":"1377676137","file4":"1377676149","file5":"1377676150","file3":"1377676148"},"map_files_photo_id_array":[{"photo_id":"1377676150","filename":"file5"},{"photo_id":"1377676147","filename":"file2"},{"photo_id":"1377676149","filename":"file4"},{"photo_id":"1377676144","filename":"file1"},{"photo_id":"1377676137","filename":"file0"},{"photo_id":"1377676148","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676148":["hashtag1","hashtag2"]},{"1377676150":["hashtag1","hashtag2"]},{"1377676144":["hashtag1","hashtag2"]},{"1377676147":["hashtag1","hashtag2"]},{"1377676149":["hashtag1","hashtag2"]},{"1377676137":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676148, 1377676150, 1377676144, 1377676147, 1377676149, 1377676137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.488893270492554 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:09:02.473350
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/06/image_17082025_02_06_58_9120.jpg', '/media/data/images/17082025/02/06/image_17082025_02_07_08_10448.jpg', '/media/data/images/17082025/02/07/image_17082025_02_07_28_9126.jpg', '/media/data/images/17082025/02/07/image_17082025_02_07_38_10410.jpg', '/media/data/images/17082025/02/07/image_17082025_02_07_49_10354.jpg', '/media/data/images/17082025/02/07/image_17082025_02_07_58_9135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/06/image_17082025_02_06_58_9120.jpg
/media/data/images/17082025/02/06/image_17082025_02_07_08_10448.jpg
/media/data/images/17082025/02/07/image_17082025_02_07_28_9126.jpg
/media/data/images/17082025/02/07/image_17082025_02_07_38_10410.jpg
/media/data/images/17082025/02/07/image_17082025_02_07_49_10354.jpg
/media/data/images/17082025/02/07/image_17082025_02_07_58_9135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676160","1377676159","1377676174","1377676168","1377676176","1377676170"],"photo_ids_order":["1377676159","1377676160","1377676168","1377676170","1377676174","1377676176"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37d34e27f1768195207851a9145f9fba.jpg","text":"TemporaryFile(/tmp/multipartBody401436351546509050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_07_08_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6e89de746a00ddd3fb9da84aa210fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5307158513690365934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_06_58_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/667af2d10c5236f1f7f4d5dc1835987b.jpg","text":"TemporaryFile(/tmp/multipartBody9103527157679608285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_07_49_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/caf2309896e9293c4aaf9147b59ca4bc.jpg","text":"TemporaryFile(/tmp/multipartBody7006653881810649191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_07_28_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af2b4436fce6cfe4d6e0f58dd4b92850.jpg","text":"TemporaryFile(/tmp/multipartBody3299940055087049924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_07_58_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/076cf40b015acf0ad35509b2bd81c3c2.jpg","text":"TemporaryFile(/tmp/multipartBody7944624483720987938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443403455,"filename":"image_17082025_02_07_38_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676168","file1":"1377676160","file0":"1377676159","file4":"1377676174","file5":"1377676176","file3":"1377676170"},"map_files_photo_id_array":[{"photo_id":"1377676176","filename":"file5"},{"photo_id":"1377676168","filename":"file2"},{"photo_id":"1377676174","filename":"file4"},{"photo_id":"1377676160","filename":"file1"},{"photo_id":"1377676159","filename":"file0"},{"photo_id":"1377676170","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676160":["hashtag1","hashtag2"]},{"1377676159":["hashtag1","hashtag2"]},{"1377676174":["hashtag1","hashtag2"]},{"1377676168":["hashtag1","hashtag2"]},{"1377676176":["hashtag1","hashtag2"]},{"1377676170":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676160, 1377676159, 1377676174, 1377676168, 1377676176, 1377676170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11567807197571 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:10:02.400563
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/07/image_17082025_02_08_08_10470.jpg', '/media/data/images/17082025/02/08/image_17082025_02_08_19_10372.jpg', '/media/data/images/17082025/02/08/image_17082025_02_08_38_10355.jpg', '/media/data/images/17082025/02/08/image_17082025_02_08_48_10346.jpg', '/media/data/images/17082025/02/08/image_17082025_02_08_59_10433.jpg', '/media/data/images/17082025/02/09/image_17082025_02_09_08_9085.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/07/image_17082025_02_08_08_10470.jpg
/media/data/images/17082025/02/08/image_17082025_02_08_19_10372.jpg
/media/data/images/17082025/02/08/image_17082025_02_08_38_10355.jpg
/media/data/images/17082025/02/08/image_17082025_02_08_48_10346.jpg
/media/data/images/17082025/02/08/image_17082025_02_08_59_10433.jpg
/media/data/images/17082025/02/09/image_17082025_02_09_08_9085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676195","1377676198","1377676192","1377676182","1377676200","1377676184"],"photo_ids_order":["1377676182","1377676184","1377676192","1377676195","1377676198","1377676200"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b189eb540e5722d9852c2ee93d752e0.jpg","text":"TemporaryFile(/tmp/multipartBody1726335309142921636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_08_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1bca1b7426b5456a47766f556045741c.jpg","text":"TemporaryFile(/tmp/multipartBody1894940047540346951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_08_59_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85cc76b75082c3772b1da3b906a41226.jpg","text":"TemporaryFile(/tmp/multipartBody2300445705798262609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_08_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2094d04ab8a02edd6bf1c0b4d8e0b6b9.jpg","text":"TemporaryFile(/tmp/multipartBody3932721175249437640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_08_08_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b017224ea24a556de42f52ceba85ac30.jpg","text":"TemporaryFile(/tmp/multipartBody6254896377421935031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_09_08_9085.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b235ea34a53b00a578d44aef422fd25.jpg","text":"TemporaryFile(/tmp/multipartBody1428139161433775827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443463387,"filename":"image_17082025_02_08_19_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676192","file1":"1377676184","file0":"1377676182","file4":"1377676198","file5":"1377676200","file3":"1377676195"},"map_files_photo_id_array":[{"photo_id":"1377676200","filename":"file5"},{"photo_id":"1377676192","filename":"file2"},{"photo_id":"1377676198","filename":"file4"},{"photo_id":"1377676184","filename":"file1"},{"photo_id":"1377676182","filename":"file0"},{"photo_id":"1377676195","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676195":["hashtag1","hashtag2"]},{"1377676198":["hashtag1","hashtag2"]},{"1377676192":["hashtag1","hashtag2"]},{"1377676182":["hashtag1","hashtag2"]},{"1377676200":["hashtag1","hashtag2"]},{"1377676184":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676195, 1377676198, 1377676192, 1377676182, 1377676200, 1377676184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29654026031494 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:11:02.576254
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/09/image_17082025_02_09_18_10430.jpg', '/media/data/images/17082025/02/09/image_17082025_02_09_29_10417.jpg', '/media/data/images/17082025/02/09/image_17082025_02_09_38_9114.jpg', '/media/data/images/17082025/02/09/image_17082025_02_09_48_10439.jpg', '/media/data/images/17082025/02/09/image_17082025_02_09_59_10348.jpg', '/media/data/images/17082025/02/10/image_17082025_02_10_19_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/09/image_17082025_02_09_18_10430.jpg
/media/data/images/17082025/02/09/image_17082025_02_09_29_10417.jpg
/media/data/images/17082025/02/09/image_17082025_02_09_38_9114.jpg
/media/data/images/17082025/02/09/image_17082025_02_09_48_10439.jpg
/media/data/images/17082025/02/09/image_17082025_02_09_59_10348.jpg
/media/data/images/17082025/02/10/image_17082025_02_10_19_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676223","1377676207","1377676222","1377676219","1377676210","1377676221"],"photo_ids_order":["1377676207","1377676210","1377676219","1377676221","1377676222","1377676223"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa489b2f56990eac8c0f36b22f96eacb.jpg","text":"TemporaryFile(/tmp/multipartBody5230489683862643144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_10_19_10497.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0745ddc66205d29cfa06778893f4993.jpg","text":"TemporaryFile(/tmp/multipartBody2876804062670307938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_09_18_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec7ac395232498c25ab24ff25716a04f.jpg","text":"TemporaryFile(/tmp/multipartBody4346530748297232564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_09_59_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/513006da6cca8b6be39853417c5d51b0.jpg","text":"TemporaryFile(/tmp/multipartBody5129049573641977210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_09_38_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44e4a5f282ed16010c5ca3383a87f879.jpg","text":"TemporaryFile(/tmp/multipartBody1964562000922926239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_09_29_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/27c4a8131a0a5c091e4ec13aeabb1947.jpg","text":"TemporaryFile(/tmp/multipartBody3651677354734357014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443523656,"filename":"image_17082025_02_09_48_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676219","file1":"1377676210","file0":"1377676207","file4":"1377676222","file5":"1377676223","file3":"1377676221"},"map_files_photo_id_array":[{"photo_id":"1377676223","filename":"file5"},{"photo_id":"1377676219","filename":"file2"},{"photo_id":"1377676222","filename":"file4"},{"photo_id":"1377676210","filename":"file1"},{"photo_id":"1377676207","filename":"file0"},{"photo_id":"1377676221","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676223":["hashtag1","hashtag2"]},{"1377676207":["hashtag1","hashtag2"]},{"1377676222":["hashtag1","hashtag2"]},{"1377676219":["hashtag1","hashtag2"]},{"1377676210":["hashtag1","hashtag2"]},{"1377676221":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676223, 1377676207, 1377676222, 1377676219, 1377676210, 1377676221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.178569316864014 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:12:02.654164
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/10/image_17082025_02_10_28_9121.jpg', '/media/data/images/17082025/02/10/image_17082025_02_10_38_10345.jpg', '/media/data/images/17082025/02/10/image_17082025_02_10_48_10393.jpg', '/media/data/images/17082025/02/10/image_17082025_02_10_58_9166.jpg', '/media/data/images/17082025/02/10/image_17082025_02_11_08_10676.jpg', '/media/data/images/17082025/02/11/image_17082025_02_11_19_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/10/image_17082025_02_10_28_9121.jpg
/media/data/images/17082025/02/10/image_17082025_02_10_38_10345.jpg
/media/data/images/17082025/02/10/image_17082025_02_10_48_10393.jpg
/media/data/images/17082025/02/10/image_17082025_02_10_58_9166.jpg
/media/data/images/17082025/02/10/image_17082025_02_11_08_10676.jpg
/media/data/images/17082025/02/11/image_17082025_02_11_19_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676232","1377676244","1377676246","1377676234","1377676248","1377676242"],"photo_ids_order":["1377676232","1377676234","1377676242","1377676244","1377676246","1377676248"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa2aefe8ddc847493bf61f67c8ec471e.jpg","text":"TemporaryFile(/tmp/multipartBody3198549295710345823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_10_28_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f3d0d257945500bb13db3c718f00bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4488675077457203719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_10_58_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b0fe6ec4e57f06e1027a2c1aca538f8.jpg","text":"TemporaryFile(/tmp/multipartBody3709420525138054186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_11_08_10676.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/601843de274059e6d17431717990747a.jpg","text":"TemporaryFile(/tmp/multipartBody2913389281012387306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_10_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/873d22db7e6a5a96fe916d2c586c73c9.jpg","text":"TemporaryFile(/tmp/multipartBody5745057254169473706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_11_19_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a918aa8cfe0a1a405aa24c8e52a2861.jpg","text":"TemporaryFile(/tmp/multipartBody7350132008015303994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443583651,"filename":"image_17082025_02_10_48_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676242","file1":"1377676234","file0":"1377676232","file4":"1377676246","file5":"1377676248","file3":"1377676244"},"map_files_photo_id_array":[{"photo_id":"1377676248","filename":"file5"},{"photo_id":"1377676242","filename":"file2"},{"photo_id":"1377676246","filename":"file4"},{"photo_id":"1377676234","filename":"file1"},{"photo_id":"1377676232","filename":"file0"},{"photo_id":"1377676244","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676232":["hashtag1","hashtag2"]},{"1377676244":["hashtag1","hashtag2"]},{"1377676246":["hashtag1","hashtag2"]},{"1377676234":["hashtag1","hashtag2"]},{"1377676248":["hashtag1","hashtag2"]},{"1377676242":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676232, 1377676244, 1377676246, 1377676234, 1377676248, 1377676242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84222984313965 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:13:02.968005
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/11/image_17082025_02_11_28_9219.jpg', '/media/data/images/17082025/02/11/image_17082025_02_11_38_10397.jpg', '/media/data/images/17082025/02/11/image_17082025_02_11_49_10345.jpg', '/media/data/images/17082025/02/11/image_17082025_02_11_58_9251.jpg', '/media/data/images/17082025/02/11/image_17082025_02_12_08_10471.jpg', '/media/data/images/17082025/02/12/image_17082025_02_12_19_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/11/image_17082025_02_11_28_9219.jpg
/media/data/images/17082025/02/11/image_17082025_02_11_38_10397.jpg
/media/data/images/17082025/02/11/image_17082025_02_11_49_10345.jpg
/media/data/images/17082025/02/11/image_17082025_02_11_58_9251.jpg
/media/data/images/17082025/02/11/image_17082025_02_12_08_10471.jpg
/media/data/images/17082025/02/12/image_17082025_02_12_19_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676268","1377676270","1377676255","1377676272","1377676266","1377676257"],"photo_ids_order":["1377676255","1377676257","1377676266","1377676268","1377676270","1377676272"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f9e4c67a31dc60f649a603ddd488db26.jpg","text":"TemporaryFile(/tmp/multipartBody3057909398428283211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_11_58_9251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f98b893ee7fa66e3e32eedf831d0da2d.jpg","text":"TemporaryFile(/tmp/multipartBody6503625431517964877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_12_08_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b2a7b2dd9fa90981b9f5a06579b937e.jpg","text":"TemporaryFile(/tmp/multipartBody4316665593072327190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_11_28_9219.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e1102e5a3d905a4e3df52d0606915f0.jpg","text":"TemporaryFile(/tmp/multipartBody8129629323857529353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_12_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9d0cf319c4aa6a8ca08f3301a06863f.jpg","text":"TemporaryFile(/tmp/multipartBody4660128116607690793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_11_49_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/318599535b15235737f839b26728fded.jpg","text":"TemporaryFile(/tmp/multipartBody8392254674002802475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443643951,"filename":"image_17082025_02_11_38_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676266","file1":"1377676257","file0":"1377676255","file4":"1377676270","file5":"1377676272","file3":"1377676268"},"map_files_photo_id_array":[{"photo_id":"1377676272","filename":"file5"},{"photo_id":"1377676266","filename":"file2"},{"photo_id":"1377676270","filename":"file4"},{"photo_id":"1377676257","filename":"file1"},{"photo_id":"1377676255","filename":"file0"},{"photo_id":"1377676268","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676268":["hashtag1","hashtag2"]},{"1377676270":["hashtag1","hashtag2"]},{"1377676255":["hashtag1","hashtag2"]},{"1377676272":["hashtag1","hashtag2"]},{"1377676266":["hashtag1","hashtag2"]},{"1377676257":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676268, 1377676270, 1377676255, 1377676272, 1377676266, 1377676257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96157789230347 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:14:02.978131
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/12/image_17082025_02_12_28_9163.jpg', '/media/data/images/17082025/02/12/image_17082025_02_12_49_10362.jpg', '/media/data/images/17082025/02/12/image_17082025_02_12_58_9116.jpg', '/media/data/images/17082025/02/13/image_17082025_02_13_19_10434.jpg', '/media/data/images/17082025/02/13/image_17082025_02_13_28_9212.jpg', '/media/data/images/17082025/02/13/image_17082025_02_13_38_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/12/image_17082025_02_12_28_9163.jpg
/media/data/images/17082025/02/12/image_17082025_02_12_49_10362.jpg
/media/data/images/17082025/02/12/image_17082025_02_12_58_9116.jpg
/media/data/images/17082025/02/13/image_17082025_02_13_19_10434.jpg
/media/data/images/17082025/02/13/image_17082025_02_13_28_9212.jpg
/media/data/images/17082025/02/13/image_17082025_02_13_38_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676294","1377676297","1377676299","1377676287","1377676278","1377676302"],"photo_ids_order":["1377676278","1377676287","1377676294","1377676297","1377676299","1377676302"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/26ec04e18043c66897c37b7932ea1105.jpg","text":"TemporaryFile(/tmp/multipartBody5742806437914750678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_12_58_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2074ad9588733a869b2815b30fd55a0.jpg","text":"TemporaryFile(/tmp/multipartBody4479300304649504204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_13_19_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8ee3928882e837a6648ee927c61a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody5079245448898748756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_13_28_9212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c1d3579f2e7845447c05baa7823bdd8.jpg","text":"TemporaryFile(/tmp/multipartBody5485264256729940317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_12_49_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/edd52e571fc1e19e47617dd6e91c5e66.jpg","text":"TemporaryFile(/tmp/multipartBody8244820471222458401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_12_28_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5df44a777c18e0cd573baf011882867.jpg","text":"TemporaryFile(/tmp/multipartBody3463808623340439718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443703959,"filename":"image_17082025_02_13_38_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676294","file1":"1377676287","file0":"1377676278","file4":"1377676299","file5":"1377676302","file3":"1377676297"},"map_files_photo_id_array":[{"photo_id":"1377676302","filename":"file5"},{"photo_id":"1377676294","filename":"file2"},{"photo_id":"1377676299","filename":"file4"},{"photo_id":"1377676287","filename":"file1"},{"photo_id":"1377676278","filename":"file0"},{"photo_id":"1377676297","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676294":["hashtag1","hashtag2"]},{"1377676297":["hashtag1","hashtag2"]},{"1377676299":["hashtag1","hashtag2"]},{"1377676287":["hashtag1","hashtag2"]},{"1377676278":["hashtag1","hashtag2"]},{"1377676302":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676294, 1377676297, 1377676299, 1377676287, 1377676278, 1377676302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64420986175537 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:15:03.244800
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/13/image_17082025_02_13_49_10361.jpg', '/media/data/images/17082025/02/13/image_17082025_02_13_58_9115.jpg', '/media/data/images/17082025/02/14/image_17082025_02_14_18_9222.jpg', '/media/data/images/17082025/02/14/image_17082025_02_14_28_10403.jpg', '/media/data/images/17082025/02/14/image_17082025_02_14_39_10352.jpg', '/media/data/images/17082025/02/14/image_17082025_02_14_48_9218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/13/image_17082025_02_13_49_10361.jpg
/media/data/images/17082025/02/13/image_17082025_02_13_58_9115.jpg
/media/data/images/17082025/02/14/image_17082025_02_14_18_9222.jpg
/media/data/images/17082025/02/14/image_17082025_02_14_28_10403.jpg
/media/data/images/17082025/02/14/image_17082025_02_14_39_10352.jpg
/media/data/images/17082025/02/14/image_17082025_02_14_48_9218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676313","1377676325","1377676324","1377676315","1377676323","1377676326"],"photo_ids_order":["1377676313","1377676315","1377676323","1377676324","1377676325","1377676326"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aab463ee73465746f0b9cf7e9600ff30.jpg","text":"TemporaryFile(/tmp/multipartBody257249530239102932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_13_49_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3cb95e419705ebf70bb1fd7b31a28f42.jpg","text":"TemporaryFile(/tmp/multipartBody1745851450850001660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_14_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ccb1258f6257f0497ec65cd88bcb5dd.jpg","text":"TemporaryFile(/tmp/multipartBody6986353400233029274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_14_28_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/609f422e4a18c8970ad54b6030132ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3497688670028752800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_13_58_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c71ce6f054e1e026d9394eee33e8122a.jpg","text":"TemporaryFile(/tmp/multipartBody2615610048752439949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_14_18_9222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5aa299f89174ec4a176b9ac205509872.jpg","text":"TemporaryFile(/tmp/multipartBody8406048963425506976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443764225,"filename":"image_17082025_02_14_48_9218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676323","file1":"1377676315","file0":"1377676313","file4":"1377676325","file5":"1377676326","file3":"1377676324"},"map_files_photo_id_array":[{"photo_id":"1377676326","filename":"file5"},{"photo_id":"1377676323","filename":"file2"},{"photo_id":"1377676325","filename":"file4"},{"photo_id":"1377676315","filename":"file1"},{"photo_id":"1377676313","filename":"file0"},{"photo_id":"1377676324","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676313":["hashtag1","hashtag2"]},{"1377676325":["hashtag1","hashtag2"]},{"1377676324":["hashtag1","hashtag2"]},{"1377676315":["hashtag1","hashtag2"]},{"1377676323":["hashtag1","hashtag2"]},{"1377676326":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676313, 1377676325, 1377676324, 1377676315, 1377676323, 1377676326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29505181312561 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:16:03.152604
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/14/image_17082025_02_14_58_10343.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_08_10255.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_38_10345.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_49_10404.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_58_9130.jpg', '/media/data/images/17082025/02/15/image_17082025_02_16_08_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/14/image_17082025_02_14_58_10343.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_08_10255.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_38_10345.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_49_10404.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_58_9130.jpg
/media/data/images/17082025/02/15/image_17082025_02_16_08_10434.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5343782901763916 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:16:22.685749
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/14/image_17082025_02_14_58_10343.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_08_10255.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_38_10345.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_49_10404.jpg', '/media/data/images/17082025/02/15/image_17082025_02_15_58_9130.jpg', '/media/data/images/17082025/02/15/image_17082025_02_16_08_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/14/image_17082025_02_14_58_10343.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_08_10255.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_38_10345.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_49_10404.jpg
/media/data/images/17082025/02/15/image_17082025_02_15_58_9130.jpg
/media/data/images/17082025/02/15/image_17082025_02_16_08_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676358","1377676353","1377676347","1377676356","1377676359","1377676350"],"photo_ids_order":["1377676347","1377676350","1377676353","1377676356","1377676358","1377676359"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45d3691f79ad230b62bf0fc42fcbee58.jpg","text":"TemporaryFile(/tmp/multipartBody8692852995625718229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_15_58_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5a96f491cad7c70a2225f982789bf84.jpg","text":"TemporaryFile(/tmp/multipartBody5949391305854942352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_15_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1698ba2eec766e43e7b2bdfe0f8e007.jpg","text":"TemporaryFile(/tmp/multipartBody14029757018654107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_14_58_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a723a98aad9a07fc3d1ca17dfecd8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7858512999747783061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_15_49_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/848aab0f453b7763580d9206fd9b0c20.jpg","text":"TemporaryFile(/tmp/multipartBody22769828797761630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_16_08_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1200a4a6e9d3ec0d440cf551d2d59eaa.jpg","text":"TemporaryFile(/tmp/multipartBody9136806782390658038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443843587,"filename":"image_17082025_02_15_08_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676353","file1":"1377676350","file0":"1377676347","file4":"1377676358","file5":"1377676359","file3":"1377676356"},"map_files_photo_id_array":[{"photo_id":"1377676359","filename":"file5"},{"photo_id":"1377676353","filename":"file2"},{"photo_id":"1377676358","filename":"file4"},{"photo_id":"1377676350","filename":"file1"},{"photo_id":"1377676347","filename":"file0"},{"photo_id":"1377676356","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676358":["hashtag1","hashtag2"]},{"1377676353":["hashtag1","hashtag2"]},{"1377676347":["hashtag1","hashtag2"]},{"1377676356":["hashtag1","hashtag2"]},{"1377676359":["hashtag1","hashtag2"]},{"1377676350":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676358, 1377676353, 1377676347, 1377676356, 1377676359, 1377676350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40504455566406 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:17:21.867665
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/16/image_17082025_02_16_28_9096.jpg', '/media/data/images/17082025/02/16/image_17082025_02_16_38_10389.jpg', '/media/data/images/17082025/02/16/image_17082025_02_16_48_10338.jpg', '/media/data/images/17082025/02/16/image_17082025_02_16_59_10331.jpg', '/media/data/images/17082025/02/17/image_17082025_02_17_18_10371.jpg', '/media/data/images/17082025/02/17/image_17082025_02_17_29_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/16/image_17082025_02_16_28_9096.jpg
/media/data/images/17082025/02/16/image_17082025_02_16_38_10389.jpg
/media/data/images/17082025/02/16/image_17082025_02_16_48_10338.jpg
/media/data/images/17082025/02/16/image_17082025_02_16_59_10331.jpg
/media/data/images/17082025/02/17/image_17082025_02_17_18_10371.jpg
/media/data/images/17082025/02/17/image_17082025_02_17_29_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676427","1377676421","1377676415","1377676375","1377676378","1377676380"],"photo_ids_order":["1377676375","1377676378","1377676380","1377676415","1377676421","1377676427"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc338a5f96333ca1c881a5f8faefdc0b.jpg","text":"TemporaryFile(/tmp/multipartBody4443360282860355435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_17_29_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4cafa0cb71161423a9f985256efa35b.jpg","text":"TemporaryFile(/tmp/multipartBody7338166972803110634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_17_18_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b96101fb80d8a2672aa0ce3e5aba97c3.jpg","text":"TemporaryFile(/tmp/multipartBody9156631369938506355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_16_59_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4888b53a6769359a43dce3fad6bb3064.jpg","text":"TemporaryFile(/tmp/multipartBody4407530208422480047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_16_28_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a839a12f75df1f629f0d9284682b3105.jpg","text":"TemporaryFile(/tmp/multipartBody552794848229689135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_16_38_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f10fd9ffb9980e6ae0b9ab0e80e9fe5e.jpg","text":"TemporaryFile(/tmp/multipartBody2547476474414628366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443903183,"filename":"image_17082025_02_16_48_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676380","file1":"1377676378","file0":"1377676375","file4":"1377676421","file5":"1377676427","file3":"1377676415"},"map_files_photo_id_array":[{"photo_id":"1377676427","filename":"file5"},{"photo_id":"1377676380","filename":"file2"},{"photo_id":"1377676421","filename":"file4"},{"photo_id":"1377676378","filename":"file1"},{"photo_id":"1377676375","filename":"file0"},{"photo_id":"1377676415","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676427":["hashtag1","hashtag2"]},{"1377676421":["hashtag1","hashtag2"]},{"1377676415":["hashtag1","hashtag2"]},{"1377676375":["hashtag1","hashtag2"]},{"1377676378":["hashtag1","hashtag2"]},{"1377676380":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676427, 1377676421, 1377676415, 1377676375, 1377676378, 1377676380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17325568199158 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:18:21.882243
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/17/image_17082025_02_17_48_10336.jpg', '/media/data/images/17082025/02/17/image_17082025_02_17_59_10331.jpg', '/media/data/images/17082025/02/18/image_17082025_02_18_08_9159.jpg', '/media/data/images/17082025/02/18/image_17082025_02_18_18_10358.jpg', '/media/data/images/17082025/02/18/image_17082025_02_18_29_10354.jpg', '/media/data/images/17082025/02/18/image_17082025_02_18_38_9197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/17/image_17082025_02_17_48_10336.jpg
/media/data/images/17082025/02/17/image_17082025_02_17_59_10331.jpg
/media/data/images/17082025/02/18/image_17082025_02_18_08_9159.jpg
/media/data/images/17082025/02/18/image_17082025_02_18_18_10358.jpg
/media/data/images/17082025/02/18/image_17082025_02_18_29_10354.jpg
/media/data/images/17082025/02/18/image_17082025_02_18_38_9197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676547","1377676442","1377676543","1377676525","1377676545","1377676443"],"photo_ids_order":["1377676442","1377676443","1377676525","1377676543","1377676545","1377676547"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f909155c8e8d55c8ca144fb2dea7630.jpg","text":"TemporaryFile(/tmp/multipartBody4510095296555841551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_18_38_9197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab1ccef5e00deee0e04dd423e32ce0fc.jpg","text":"TemporaryFile(/tmp/multipartBody3777320518028144031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_17_48_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cfb67e16037ebd235b971a465ded9763.jpg","text":"TemporaryFile(/tmp/multipartBody5965049589751665096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_18_18_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6c8bd74fa441213d687d3ee62b6da3e.jpg","text":"TemporaryFile(/tmp/multipartBody6571451295065658685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_18_08_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1031c7c39f78b52a0c99820f38d0e254.jpg","text":"TemporaryFile(/tmp/multipartBody8770397601175670591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_18_29_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c65f41707519437f5b43e389ff23eadd.jpg","text":"TemporaryFile(/tmp/multipartBody2610494620580634569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443962862,"filename":"image_17082025_02_17_59_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676525","file1":"1377676443","file0":"1377676442","file4":"1377676545","file5":"1377676547","file3":"1377676543"},"map_files_photo_id_array":[{"photo_id":"1377676547","filename":"file5"},{"photo_id":"1377676525","filename":"file2"},{"photo_id":"1377676545","filename":"file4"},{"photo_id":"1377676443","filename":"file1"},{"photo_id":"1377676442","filename":"file0"},{"photo_id":"1377676543","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676547":["hashtag1","hashtag2"]},{"1377676442":["hashtag1","hashtag2"]},{"1377676543":["hashtag1","hashtag2"]},{"1377676525":["hashtag1","hashtag2"]},{"1377676545":["hashtag1","hashtag2"]},{"1377676443":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676547, 1377676442, 1377676543, 1377676525, 1377676545, 1377676443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5609974861145 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:19:21.976580
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/18/image_17082025_02_18_48_10347.jpg', '/media/data/images/17082025/02/19/image_17082025_02_19_08_9210.jpg', '/media/data/images/17082025/02/19/image_17082025_02_19_29_10363.jpg', '/media/data/images/17082025/02/19/image_17082025_02_19_38_9199.jpg', '/media/data/images/17082025/02/19/image_17082025_02_19_48_10393.jpg', '/media/data/images/17082025/02/19/image_17082025_02_19_59_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/18/image_17082025_02_18_48_10347.jpg
/media/data/images/17082025/02/19/image_17082025_02_19_08_9210.jpg
/media/data/images/17082025/02/19/image_17082025_02_19_29_10363.jpg
/media/data/images/17082025/02/19/image_17082025_02_19_38_9199.jpg
/media/data/images/17082025/02/19/image_17082025_02_19_48_10393.jpg
/media/data/images/17082025/02/19/image_17082025_02_19_59_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676562","1377676567","1377676564","1377676566","1377676560","1377676557"],"photo_ids_order":["1377676557","1377676560","1377676562","1377676564","1377676566","1377676567"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3b1457befdc3397e186ad7d3c7f97f1f.jpg","text":"TemporaryFile(/tmp/multipartBody839348115669619779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_19_29_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10bdce939a5f9188ce8e0fb84f3a564c.jpg","text":"TemporaryFile(/tmp/multipartBody4885563986331305550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_19_59_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa1b0744ad343e6809b118f6536a26c4.jpg","text":"TemporaryFile(/tmp/multipartBody3004450798929147005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_19_38_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52f0a4fb30be5510f8cb5aec51d30344.jpg","text":"TemporaryFile(/tmp/multipartBody1570223622051129176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_19_48_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4015cdacd7cdbefc70eb9fffbedd8429.jpg","text":"TemporaryFile(/tmp/multipartBody2608401347039273269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_19_08_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1dc5713bcbc75d9cb53cb6d6b14ca8eb.jpg","text":"TemporaryFile(/tmp/multipartBody7893103515628299125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444022933,"filename":"image_17082025_02_18_48_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676562","file1":"1377676560","file0":"1377676557","file4":"1377676566","file5":"1377676567","file3":"1377676564"},"map_files_photo_id_array":[{"photo_id":"1377676567","filename":"file5"},{"photo_id":"1377676562","filename":"file2"},{"photo_id":"1377676566","filename":"file4"},{"photo_id":"1377676560","filename":"file1"},{"photo_id":"1377676557","filename":"file0"},{"photo_id":"1377676564","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676562":["hashtag1","hashtag2"]},{"1377676567":["hashtag1","hashtag2"]},{"1377676564":["hashtag1","hashtag2"]},{"1377676566":["hashtag1","hashtag2"]},{"1377676560":["hashtag1","hashtag2"]},{"1377676557":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676562, 1377676567, 1377676564, 1377676566, 1377676560, 1377676557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65649628639221 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:20:22.094403
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/20/image_17082025_02_20_08_9129.jpg', '/media/data/images/17082025/02/20/image_17082025_02_20_18_10353.jpg', '/media/data/images/17082025/02/20/image_17082025_02_20_39_10344.jpg', '/media/data/images/17082025/02/20/image_17082025_02_20_48_9121.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_09_10292.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_18_9127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/20/image_17082025_02_20_08_9129.jpg
/media/data/images/17082025/02/20/image_17082025_02_20_18_10353.jpg
/media/data/images/17082025/02/20/image_17082025_02_20_39_10344.jpg
/media/data/images/17082025/02/20/image_17082025_02_20_48_9121.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_09_10292.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_18_9127.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676615","1377676596","1377676578","1377676614","1377676617","1377676602"],"photo_ids_order":["1377676578","1377676596","1377676602","1377676614","1377676615","1377676617"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b48fd333fc1dbce5d4f7706bf13c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody3410606399432411315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_21_09_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d9c82ea9c6f4f618fcbd5424490e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody4355776471551324802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_20_18_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53801a59587ffe0cecb24ecb106bab42.jpg","text":"TemporaryFile(/tmp/multipartBody7028891518897164129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_20_08_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec70ccbedf6e62e701db3b8e2a220f92.jpg","text":"TemporaryFile(/tmp/multipartBody948604105077000915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_20_48_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af564af2ee11b64bef692ca244c7de47.jpg","text":"TemporaryFile(/tmp/multipartBody3436792706887529161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_21_18_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad2bcb57fa8f0e14a399d76feb08785c.jpg","text":"TemporaryFile(/tmp/multipartBody6471959448766661313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444083059,"filename":"image_17082025_02_20_39_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676602","file1":"1377676596","file0":"1377676578","file4":"1377676615","file5":"1377676617","file3":"1377676614"},"map_files_photo_id_array":[{"photo_id":"1377676617","filename":"file5"},{"photo_id":"1377676602","filename":"file2"},{"photo_id":"1377676615","filename":"file4"},{"photo_id":"1377676596","filename":"file1"},{"photo_id":"1377676578","filename":"file0"},{"photo_id":"1377676614","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676615":["hashtag1","hashtag2"]},{"1377676596":["hashtag1","hashtag2"]},{"1377676578":["hashtag1","hashtag2"]},{"1377676614":["hashtag1","hashtag2"]},{"1377676617":["hashtag1","hashtag2"]},{"1377676602":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676615, 1377676596, 1377676578, 1377676614, 1377676617, 1377676602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.260178089141846 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:21:22.211643
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/21/image_17082025_02_21_28_10418.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_39_10405.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_48_9119.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_08_10373.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_28_9213.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_39_10618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/21/image_17082025_02_21_28_10418.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_39_10405.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_48_9119.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_08_10373.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_28_9213.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_39_10618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5246176719665527 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:21:42.227397
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/21/image_17082025_02_21_28_10418.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_39_10405.jpg', '/media/data/images/17082025/02/21/image_17082025_02_21_48_9119.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_08_10373.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_28_9213.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_39_10618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/21/image_17082025_02_21_28_10418.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_39_10405.jpg
/media/data/images/17082025/02/21/image_17082025_02_21_48_9119.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_08_10373.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_28_9213.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_39_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676654","1377676639","1377676665","1377676650","1377676644","1377676653"],"photo_ids_order":["1377676639","1377676644","1377676650","1377676653","1377676654","1377676665"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f874d59c77c6e8f3f4d03b579685f54.jpg","text":"TemporaryFile(/tmp/multipartBody3944100136702850425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_22_28_9213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69613f5285f3f07f59b8281a57500c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5169465907834103594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_21_28_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f157294067acb084334546c7e1c97fd.jpg","text":"TemporaryFile(/tmp/multipartBody600071472108101778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_22_39_10618.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/662ed2d62006f89f79f881827904d50d.jpg","text":"TemporaryFile(/tmp/multipartBody2436783586817414871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_21_48_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/040c320d778bab25c878c199041ed430.jpg","text":"TemporaryFile(/tmp/multipartBody8678251281107188371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_21_39_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ba96918ea3a839f5a7b1c9de6609746.jpg","text":"TemporaryFile(/tmp/multipartBody8186366425224572844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444163132,"filename":"image_17082025_02_22_08_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676650","file1":"1377676644","file0":"1377676639","file4":"1377676654","file5":"1377676665","file3":"1377676653"},"map_files_photo_id_array":[{"photo_id":"1377676665","filename":"file5"},{"photo_id":"1377676650","filename":"file2"},{"photo_id":"1377676654","filename":"file4"},{"photo_id":"1377676644","filename":"file1"},{"photo_id":"1377676639","filename":"file0"},{"photo_id":"1377676653","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676654":["hashtag1","hashtag2"]},{"1377676639":["hashtag1","hashtag2"]},{"1377676665":["hashtag1","hashtag2"]},{"1377676650":["hashtag1","hashtag2"]},{"1377676644":["hashtag1","hashtag2"]},{"1377676653":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676654, 1377676639, 1377676665, 1377676650, 1377676644, 1377676653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.538283348083496 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:22:42.341334
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/22/image_17082025_02_22_48_9407.jpg', '/media/data/images/17082025/02/22/image_17082025_02_22_59_10447.jpg', '/media/data/images/17082025/02/23/image_17082025_02_23_09_10116.jpg', '/media/data/images/17082025/02/23/image_17082025_02_23_48_9190.jpg', '/media/data/images/17082025/02/23/image_17082025_02_23_58_10396.jpg', '/media/data/images/17082025/02/24/image_17082025_02_24_18_9122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/22/image_17082025_02_22_48_9407.jpg
/media/data/images/17082025/02/22/image_17082025_02_22_59_10447.jpg
/media/data/images/17082025/02/23/image_17082025_02_23_09_10116.jpg
/media/data/images/17082025/02/23/image_17082025_02_23_48_9190.jpg
/media/data/images/17082025/02/23/image_17082025_02_23_58_10396.jpg
/media/data/images/17082025/02/24/image_17082025_02_24_18_9122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676697","1377676682","1377676714","1377676680","1377676719","1377676710"],"photo_ids_order":["1377676680","1377676682","1377676697","1377676710","1377676714","1377676719"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52ea5f283a60a1d1ca7cd941271b6733.jpg","text":"TemporaryFile(/tmp/multipartBody657064036106027339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_23_09_10116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dfa4bf1bb3ffff68cf2c4a996446b6e.jpg","text":"TemporaryFile(/tmp/multipartBody1497464315592236556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_22_59_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c0aee1d0813397f17aed285295859f4.jpg","text":"TemporaryFile(/tmp/multipartBody1719303221137418771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_23_58_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6f6bae656366af551779f1481c15f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2273973989807055475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_22_48_9407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d52e2f53af839962f7663be1dd67182c.jpg","text":"TemporaryFile(/tmp/multipartBody1716795378383169926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_24_18_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b837b0b368985fb353e0c14aca4c895.jpg","text":"TemporaryFile(/tmp/multipartBody3902483960313101130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444223288,"filename":"image_17082025_02_23_48_9190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676697","file1":"1377676682","file0":"1377676680","file4":"1377676714","file5":"1377676719","file3":"1377676710"},"map_files_photo_id_array":[{"photo_id":"1377676719","filename":"file5"},{"photo_id":"1377676697","filename":"file2"},{"photo_id":"1377676714","filename":"file4"},{"photo_id":"1377676682","filename":"file1"},{"photo_id":"1377676680","filename":"file0"},{"photo_id":"1377676710","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676697":["hashtag1","hashtag2"]},{"1377676682":["hashtag1","hashtag2"]},{"1377676714":["hashtag1","hashtag2"]},{"1377676680":["hashtag1","hashtag2"]},{"1377676719":["hashtag1","hashtag2"]},{"1377676710":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676697, 1377676682, 1377676714, 1377676680, 1377676719, 1377676710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.480790853500366 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:23:42.450821
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/24/image_17082025_02_24_58_10340.jpg', '/media/data/images/17082025/02/25/image_17082025_02_25_08_10338.jpg', '/media/data/images/17082025/02/25/image_17082025_02_25_19_10344.jpg', '/media/data/images/17082025/02/25/image_17082025_02_25_28_9204.jpg', '/media/data/images/17082025/02/25/image_17082025_02_25_49_10375.jpg', '/media/data/images/17082025/02/25/image_17082025_02_25_58_9103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/24/image_17082025_02_24_58_10340.jpg
/media/data/images/17082025/02/25/image_17082025_02_25_08_10338.jpg
/media/data/images/17082025/02/25/image_17082025_02_25_19_10344.jpg
/media/data/images/17082025/02/25/image_17082025_02_25_28_9204.jpg
/media/data/images/17082025/02/25/image_17082025_02_25_49_10375.jpg
/media/data/images/17082025/02/25/image_17082025_02_25_58_9103.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676763","1377676742","1377676751","1377676739","1377676747","1377676756"],"photo_ids_order":["1377676739","1377676742","1377676747","1377676751","1377676756","1377676763"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0e370ffc95e9b66d27081f979834e45f.jpg","text":"TemporaryFile(/tmp/multipartBody7224468256452175260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_25_58_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d4e0983d3fa7024be0a376aa26826fb.jpg","text":"TemporaryFile(/tmp/multipartBody764191100278279331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_25_08_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb9816d48b8db29498b94f1bd2e50fae.jpg","text":"TemporaryFile(/tmp/multipartBody965697757160033479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_25_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93f916b5e5d8cf7964e15b99de478a20.jpg","text":"TemporaryFile(/tmp/multipartBody8311459109905528720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_24_58_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9dd103197218d781a6f57a42c7e11ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8550183756745956351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_25_19_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dde3db38997191644ee647a2af0061c.jpg","text":"TemporaryFile(/tmp/multipartBody7599016884616096353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444283418,"filename":"image_17082025_02_25_49_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676747","file1":"1377676742","file0":"1377676739","file4":"1377676756","file5":"1377676763","file3":"1377676751"},"map_files_photo_id_array":[{"photo_id":"1377676763","filename":"file5"},{"photo_id":"1377676747","filename":"file2"},{"photo_id":"1377676756","filename":"file4"},{"photo_id":"1377676742","filename":"file1"},{"photo_id":"1377676739","filename":"file0"},{"photo_id":"1377676751","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676763":["hashtag1","hashtag2"]},{"1377676742":["hashtag1","hashtag2"]},{"1377676751":["hashtag1","hashtag2"]},{"1377676739":["hashtag1","hashtag2"]},{"1377676747":["hashtag1","hashtag2"]},{"1377676756":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676763, 1377676742, 1377676751, 1377676739, 1377676747, 1377676756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.550562143325806 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:24:42.537238
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/25/image_17082025_02_26_08_10396.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_19_10494.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_28_9190.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_38_10326.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_49_10328.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_58_9278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/25/image_17082025_02_26_08_10396.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_19_10494.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_28_9190.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_38_10326.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_49_10328.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_58_9278.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5352072715759277 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:25:03.350549
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/25/image_17082025_02_26_08_10396.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_19_10494.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_28_9190.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_38_10326.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_49_10328.jpg', '/media/data/images/17082025/02/26/image_17082025_02_26_58_9278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/25/image_17082025_02_26_08_10396.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_19_10494.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_28_9190.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_38_10326.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_49_10328.jpg
/media/data/images/17082025/02/26/image_17082025_02_26_58_9278.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676795","1377676792","1377676789","1377676780","1377676782","1377676790"],"photo_ids_order":["1377676780","1377676782","1377676789","1377676790","1377676792","1377676795"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e16fd7f9a1d1fbfcb963e0add4c5cab7.jpg","text":"TemporaryFile(/tmp/multipartBody2844555834830857459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_58_9278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db594cd55556b4f2ad16d4941f91d531.jpg","text":"TemporaryFile(/tmp/multipartBody2383365626442753879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_49_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b0c589d412e9515b2f92efbc6e82de0.jpg","text":"TemporaryFile(/tmp/multipartBody8085136265099821916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_28_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef983b81f5e519933061db9e4b67a569.jpg","text":"TemporaryFile(/tmp/multipartBody5075456874614641747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_08_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0010617c070d84961d4c7ada0f58b80.jpg","text":"TemporaryFile(/tmp/multipartBody7017644395440935096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_19_10494.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bdbe83da8dc201e6ad44742753b7fa12.jpg","text":"TemporaryFile(/tmp/multipartBody8517766393861338699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444364255,"filename":"image_17082025_02_26_38_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676789","file1":"1377676782","file0":"1377676780","file4":"1377676792","file5":"1377676795","file3":"1377676790"},"map_files_photo_id_array":[{"photo_id":"1377676795","filename":"file5"},{"photo_id":"1377676789","filename":"file2"},{"photo_id":"1377676792","filename":"file4"},{"photo_id":"1377676782","filename":"file1"},{"photo_id":"1377676780","filename":"file0"},{"photo_id":"1377676790","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676795":["hashtag1","hashtag2"]},{"1377676792":["hashtag1","hashtag2"]},{"1377676789":["hashtag1","hashtag2"]},{"1377676780":["hashtag1","hashtag2"]},{"1377676782":["hashtag1","hashtag2"]},{"1377676790":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676795, 1377676792, 1377676789, 1377676780, 1377676782, 1377676790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.416558504104614 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:26:03.257099
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/26/image_17082025_02_27_08_10387.jpg', '/media/data/images/17082025/02/27/image_17082025_02_27_28_9099.jpg', '/media/data/images/17082025/02/27/image_17082025_02_27_38_10333.jpg', '/media/data/images/17082025/02/27/image_17082025_02_27_48_10363.jpg', '/media/data/images/17082025/02/27/image_17082025_02_27_59_10370.jpg', '/media/data/images/17082025/02/28/image_17082025_02_28_08_9197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/26/image_17082025_02_27_08_10387.jpg
/media/data/images/17082025/02/27/image_17082025_02_27_28_9099.jpg
/media/data/images/17082025/02/27/image_17082025_02_27_38_10333.jpg
/media/data/images/17082025/02/27/image_17082025_02_27_48_10363.jpg
/media/data/images/17082025/02/27/image_17082025_02_27_59_10370.jpg
/media/data/images/17082025/02/28/image_17082025_02_28_08_9197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676805","1377676810","1377676839","1377676812","1377676815","1377676799"],"photo_ids_order":["1377676799","1377676805","1377676810","1377676812","1377676815","1377676839"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19461696959fbc5f824ce75c5effee8d.jpg","text":"TemporaryFile(/tmp/multipartBody4884291552430602599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_27_28_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0bb6e4da8017bd1d36d2122cb152e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6346526444734817243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_27_38_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/844bae605f190dc134f7701e907a7024.jpg","text":"TemporaryFile(/tmp/multipartBody6968994161963421042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_28_08_9197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0e1cfc7e8407103fde110230afeaf1cc.jpg","text":"TemporaryFile(/tmp/multipartBody750248303164492495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_27_48_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e32392972cfb7102ed05911ed5cc4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4932103772882388828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_27_59_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4e32b4fa7298ece33cf48245a254e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2330401813295733809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424231,"filename":"image_17082025_02_27_08_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676810","file1":"1377676805","file0":"1377676799","file4":"1377676815","file5":"1377676839","file3":"1377676812"},"map_files_photo_id_array":[{"photo_id":"1377676839","filename":"file5"},{"photo_id":"1377676810","filename":"file2"},{"photo_id":"1377676815","filename":"file4"},{"photo_id":"1377676805","filename":"file1"},{"photo_id":"1377676799","filename":"file0"},{"photo_id":"1377676812","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377676805":["hashtag1","hashtag2"]},{"1377676810":["hashtag1","hashtag2"]},{"1377676839":["hashtag1","hashtag2"]},{"1377676812":["hashtag1","hashtag2"]},{"1377676815":["hashtag1","hashtag2"]},{"1377676799":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377676805, 1377676810, 1377676839, 1377676812, 1377676815, 1377676799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.194602251052856 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:27:02.387443
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/28/image_17082025_02_28_18_10432.jpg', '/media/data/images/17082025/02/28/image_17082025_02_28_29_10471.jpg', '/media/data/images/17082025/02/28/image_17082025_02_28_59_10352.jpg', '/media/data/images/17082025/02/29/image_17082025_02_29_18_10447.jpg', '/media/data/images/17082025/02/29/image_17082025_02_29_28_10370.jpg', '/media/data/images/17082025/02/29/image_17082025_02_29_38_9186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/28/image_17082025_02_28_18_10432.jpg
/media/data/images/17082025/02/28/image_17082025_02_28_29_10471.jpg
/media/data/images/17082025/02/28/image_17082025_02_28_59_10352.jpg
/media/data/images/17082025/02/29/image_17082025_02_29_18_10447.jpg
/media/data/images/17082025/02/29/image_17082025_02_29_28_10370.jpg
/media/data/images/17082025/02/29/image_17082025_02_29_38_9186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677191","1377677050","1377677091","1377677136","1377677217","1377677168"],"photo_ids_order":["1377677050","1377677091","1377677136","1377677168","1377677191","1377677217"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef0dc49b0b29685e930398701dcdcc44.jpg","text":"TemporaryFile(/tmp/multipartBody9074510292249417525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_29_28_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3ed8db376def2e4136c6ec6e4564687.jpg","text":"TemporaryFile(/tmp/multipartBody2280972475699806864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_28_18_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75a910566cae12fe49cb5cf900d30dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1422535299636434410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_28_29_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2872de2bb7bd2f529598a344eb954ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3811288028654824139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_28_59_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b2d653add86e82372d6bce62eaa8379.jpg","text":"TemporaryFile(/tmp/multipartBody7105623932914025929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_29_38_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d12bfab75e7c4adaec9d6011e75f437.jpg","text":"TemporaryFile(/tmp/multipartBody9202100096965656007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444483379,"filename":"image_17082025_02_29_18_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677136","file1":"1377677091","file0":"1377677050","file4":"1377677191","file5":"1377677217","file3":"1377677168"},"map_files_photo_id_array":[{"photo_id":"1377677217","filename":"file5"},{"photo_id":"1377677136","filename":"file2"},{"photo_id":"1377677191","filename":"file4"},{"photo_id":"1377677091","filename":"file1"},{"photo_id":"1377677050","filename":"file0"},{"photo_id":"1377677168","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677191":["hashtag1","hashtag2"]},{"1377677050":["hashtag1","hashtag2"]},{"1377677091":["hashtag1","hashtag2"]},{"1377677136":["hashtag1","hashtag2"]},{"1377677217":["hashtag1","hashtag2"]},{"1377677168":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677191, 1377677050, 1377677091, 1377677136, 1377677217, 1377677168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32071852684021 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:28:02.367134
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/29/image_17082025_02_29_48_10437.jpg', '/media/data/images/17082025/02/29/image_17082025_02_29_58_10331.jpg', '/media/data/images/17082025/02/30/image_17082025_02_30_09_10211.jpg', '/media/data/images/17082025/02/30/image_17082025_02_30_18_9118.jpg', '/media/data/images/17082025/02/30/image_17082025_02_30_28_10353.jpg', '/media/data/images/17082025/02/30/image_17082025_02_30_39_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/29/image_17082025_02_29_48_10437.jpg
/media/data/images/17082025/02/29/image_17082025_02_29_58_10331.jpg
/media/data/images/17082025/02/30/image_17082025_02_30_09_10211.jpg
/media/data/images/17082025/02/30/image_17082025_02_30_18_9118.jpg
/media/data/images/17082025/02/30/image_17082025_02_30_28_10353.jpg
/media/data/images/17082025/02/30/image_17082025_02_30_39_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677275","1377677251","1377677277","1377677253","1377677273","1377677279"],"photo_ids_order":["1377677251","1377677253","1377677273","1377677275","1377677277","1377677279"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2481c6bb9da9bd62b821115a8c56b716.jpg","text":"TemporaryFile(/tmp/multipartBody7190525266571648745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_30_18_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1319b5080b599eda739bf11ab60ebf68.jpg","text":"TemporaryFile(/tmp/multipartBody5942770711184080496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_29_48_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45483ed51994623d34c27981f209d916.jpg","text":"TemporaryFile(/tmp/multipartBody7227557909410327856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_30_28_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fae36679d317b442b0699cf386ea620c.jpg","text":"TemporaryFile(/tmp/multipartBody4187816475605890399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_29_58_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9c745dfdf0e3621290fef41fd0329b3.jpg","text":"TemporaryFile(/tmp/multipartBody6159075716604377534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_30_09_10211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4335c8f2c303dbac028a4372a16609b9.jpg","text":"TemporaryFile(/tmp/multipartBody4347306547075973715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444543320,"filename":"image_17082025_02_30_39_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677273","file1":"1377677253","file0":"1377677251","file4":"1377677277","file5":"1377677279","file3":"1377677275"},"map_files_photo_id_array":[{"photo_id":"1377677279","filename":"file5"},{"photo_id":"1377677273","filename":"file2"},{"photo_id":"1377677277","filename":"file4"},{"photo_id":"1377677253","filename":"file1"},{"photo_id":"1377677251","filename":"file0"},{"photo_id":"1377677275","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677275":["hashtag1","hashtag2"]},{"1377677251":["hashtag1","hashtag2"]},{"1377677277":["hashtag1","hashtag2"]},{"1377677253":["hashtag1","hashtag2"]},{"1377677273":["hashtag1","hashtag2"]},{"1377677279":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677275, 1377677251, 1377677277, 1377677253, 1377677273, 1377677279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16388392448425 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:29:02.867150
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/30/image_17082025_02_30_58_10386.jpg', '/media/data/images/17082025/02/31/image_17082025_02_31_08_10249.jpg', '/media/data/images/17082025/02/31/image_17082025_02_31_18_9205.jpg', '/media/data/images/17082025/02/31/image_17082025_02_31_28_10462.jpg', '/media/data/images/17082025/02/31/image_17082025_02_31_38_10353.jpg', '/media/data/images/17082025/02/31/image_17082025_02_31_48_9222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/30/image_17082025_02_30_58_10386.jpg
/media/data/images/17082025/02/31/image_17082025_02_31_08_10249.jpg
/media/data/images/17082025/02/31/image_17082025_02_31_18_9205.jpg
/media/data/images/17082025/02/31/image_17082025_02_31_28_10462.jpg
/media/data/images/17082025/02/31/image_17082025_02_31_38_10353.jpg
/media/data/images/17082025/02/31/image_17082025_02_31_48_9222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677411","1377677327","1377677371","1377677407","1377677409","1377677330"],"photo_ids_order":["1377677327","1377677330","1377677371","1377677407","1377677409","1377677411"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/321be62381a828b8f58829e26859bcca.jpg","text":"TemporaryFile(/tmp/multipartBody3902673348775677857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_31_48_9222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/061413dd1d4b2da2259a2156eb819fae.jpg","text":"TemporaryFile(/tmp/multipartBody1335015442168252378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_30_58_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecb52807588b30cce98ea301c2418270.jpg","text":"TemporaryFile(/tmp/multipartBody2971845331227419257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_31_18_9205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8627b60ca82058bda5a0432ba07eac19.jpg","text":"TemporaryFile(/tmp/multipartBody528592055142670430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_31_28_10462.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/70e07a03f0c002f76a989f7c0d20e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8953326704341826868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_31_38_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be2d7749c1f0a15e569f92b8294bbbdb.jpg","text":"TemporaryFile(/tmp/multipartBody4959748414051628917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444603829,"filename":"image_17082025_02_31_08_10249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677371","file1":"1377677330","file0":"1377677327","file4":"1377677409","file5":"1377677411","file3":"1377677407"},"map_files_photo_id_array":[{"photo_id":"1377677411","filename":"file5"},{"photo_id":"1377677371","filename":"file2"},{"photo_id":"1377677409","filename":"file4"},{"photo_id":"1377677330","filename":"file1"},{"photo_id":"1377677327","filename":"file0"},{"photo_id":"1377677407","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677411":["hashtag1","hashtag2"]},{"1377677327":["hashtag1","hashtag2"]},{"1377677371":["hashtag1","hashtag2"]},{"1377677407":["hashtag1","hashtag2"]},{"1377677409":["hashtag1","hashtag2"]},{"1377677330":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677411, 1377677327, 1377677371, 1377677407, 1377677409, 1377677330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.030391454696655 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:30:02.641371
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/31/image_17082025_02_31_58_10357.jpg', '/media/data/images/17082025/02/31/image_17082025_02_32_08_10439.jpg', '/media/data/images/17082025/02/32/image_17082025_02_32_18_9216.jpg', '/media/data/images/17082025/02/32/image_17082025_02_32_28_10441.jpg', '/media/data/images/17082025/02/32/image_17082025_02_32_38_10354.jpg', '/media/data/images/17082025/02/32/image_17082025_02_32_48_9129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/31/image_17082025_02_31_58_10357.jpg
/media/data/images/17082025/02/31/image_17082025_02_32_08_10439.jpg
/media/data/images/17082025/02/32/image_17082025_02_32_18_9216.jpg
/media/data/images/17082025/02/32/image_17082025_02_32_28_10441.jpg
/media/data/images/17082025/02/32/image_17082025_02_32_38_10354.jpg
/media/data/images/17082025/02/32/image_17082025_02_32_48_9129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677429","1377677437","1377677425","1377677436","1377677435","1377677438"],"photo_ids_order":["1377677425","1377677429","1377677435","1377677436","1377677437","1377677438"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04fa2ce0a01ee78e3ac55b7a3d686088.jpg","text":"TemporaryFile(/tmp/multipartBody5631700889429663432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_32_08_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c766d76c7ca3109b5508aa13d6fa0958.jpg","text":"TemporaryFile(/tmp/multipartBody8006298353262714393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_32_38_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/876981335c848d6b0fda4cd83464e689.jpg","text":"TemporaryFile(/tmp/multipartBody6602776062161006186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_31_58_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2bc4f37afece32affc50021be579dde.jpg","text":"TemporaryFile(/tmp/multipartBody7929598380786476496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_32_28_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48449c0a9aec3754c99ff834e3dec2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3681054254197880831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_32_18_9216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e441ca066ca44d7fe6aa0fcf7a5c85df.jpg","text":"TemporaryFile(/tmp/multipartBody7508148984663667139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444663644,"filename":"image_17082025_02_32_48_9129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677435","file1":"1377677429","file0":"1377677425","file4":"1377677437","file5":"1377677438","file3":"1377677436"},"map_files_photo_id_array":[{"photo_id":"1377677438","filename":"file5"},{"photo_id":"1377677435","filename":"file2"},{"photo_id":"1377677437","filename":"file4"},{"photo_id":"1377677429","filename":"file1"},{"photo_id":"1377677425","filename":"file0"},{"photo_id":"1377677436","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677429":["hashtag1","hashtag2"]},{"1377677437":["hashtag1","hashtag2"]},{"1377677425":["hashtag1","hashtag2"]},{"1377677436":["hashtag1","hashtag2"]},{"1377677435":["hashtag1","hashtag2"]},{"1377677438":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677429, 1377677437, 1377677425, 1377677436, 1377677435, 1377677438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64539432525635 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:31:02.979553
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/32/image_17082025_02_32_58_10395.jpg', '/media/data/images/17082025/02/33/image_17082025_02_33_08_10371.jpg', '/media/data/images/17082025/02/33/image_17082025_02_33_19_10365.jpg', '/media/data/images/17082025/02/33/image_17082025_02_33_28_9147.jpg', '/media/data/images/17082025/02/33/image_17082025_02_33_38_10353.jpg', '/media/data/images/17082025/02/33/image_17082025_02_33_58_9107.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/32/image_17082025_02_32_58_10395.jpg
/media/data/images/17082025/02/33/image_17082025_02_33_08_10371.jpg
/media/data/images/17082025/02/33/image_17082025_02_33_19_10365.jpg
/media/data/images/17082025/02/33/image_17082025_02_33_28_9147.jpg
/media/data/images/17082025/02/33/image_17082025_02_33_38_10353.jpg
/media/data/images/17082025/02/33/image_17082025_02_33_58_9107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677464","1377677467","1377677454","1377677468","1377677456","1377677465"],"photo_ids_order":["1377677454","1377677456","1377677464","1377677465","1377677467","1377677468"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9704ddefcc79263903d19b789249cb47.jpg","text":"TemporaryFile(/tmp/multipartBody8908911998163655646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_33_19_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b2004a12412a1e2e56a81305c09ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody7399667134991515284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_33_38_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5492e8734a08148a4594410aa4aebfb4.jpg","text":"TemporaryFile(/tmp/multipartBody5597499267796834956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_32_58_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37a855c6bb3d65039ac6d342434b9034.jpg","text":"TemporaryFile(/tmp/multipartBody7851453627330902923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_33_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/35587a57d294c192f0782ccf3a8526b9.jpg","text":"TemporaryFile(/tmp/multipartBody5962942822438480987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_33_08_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f404b3787ec41c99dc5e61467235f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody6934095519731075098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444723923,"filename":"image_17082025_02_33_28_9147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677464","file1":"1377677456","file0":"1377677454","file4":"1377677467","file5":"1377677468","file3":"1377677465"},"map_files_photo_id_array":[{"photo_id":"1377677468","filename":"file5"},{"photo_id":"1377677464","filename":"file2"},{"photo_id":"1377677467","filename":"file4"},{"photo_id":"1377677456","filename":"file1"},{"photo_id":"1377677454","filename":"file0"},{"photo_id":"1377677465","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677464":["hashtag1","hashtag2"]},{"1377677467":["hashtag1","hashtag2"]},{"1377677454":["hashtag1","hashtag2"]},{"1377677468":["hashtag1","hashtag2"]},{"1377677456":["hashtag1","hashtag2"]},{"1377677465":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677464, 1377677467, 1377677454, 1377677468, 1377677456, 1377677465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.197575092315674 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:32:02.731535
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/33/image_17082025_02_34_08_10458.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_19_10390.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_28_9175.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_38_10377.jpg', '/media/data/images/17082025/02/35/image_17082025_02_35_19_10358.jpg', '/media/data/images/17082025/02/35/image_17082025_02_35_28_9121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/33/image_17082025_02_34_08_10458.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_19_10390.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_28_9175.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_38_10377.jpg
/media/data/images/17082025/02/35/image_17082025_02_35_19_10358.jpg
/media/data/images/17082025/02/35/image_17082025_02_35_28_9121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5587246417999268 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:32:22.354097
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/33/image_17082025_02_34_08_10458.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_19_10390.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_28_9175.jpg', '/media/data/images/17082025/02/34/image_17082025_02_34_38_10377.jpg', '/media/data/images/17082025/02/35/image_17082025_02_35_19_10358.jpg', '/media/data/images/17082025/02/35/image_17082025_02_35_28_9121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/33/image_17082025_02_34_08_10458.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_19_10390.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_28_9175.jpg
/media/data/images/17082025/02/34/image_17082025_02_34_38_10377.jpg
/media/data/images/17082025/02/35/image_17082025_02_35_19_10358.jpg
/media/data/images/17082025/02/35/image_17082025_02_35_28_9121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677515","1377677518","1377677523","1377677511","1377677520","1377677522"],"photo_ids_order":["1377677511","1377677515","1377677518","1377677520","1377677522","1377677523"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49df4b3cc25bd36076083ace3f5b9938.jpg","text":"TemporaryFile(/tmp/multipartBody6905745561193949227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_34_19_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08087aa80907d163d07febcbb387109f.jpg","text":"TemporaryFile(/tmp/multipartBody4477525867267623108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_34_28_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/803ccf9040764e57d630df1a843117aa.jpg","text":"TemporaryFile(/tmp/multipartBody2760942435468662412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_35_28_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0fb82f118e920d07607aab9083a6326.jpg","text":"TemporaryFile(/tmp/multipartBody2648803784632054350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_34_08_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ed61b0e910221a7d096fdf5a899220b.jpg","text":"TemporaryFile(/tmp/multipartBody3616032749542199717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_34_38_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d0bd71b701b90319e99d3c88c93c8c7.jpg","text":"TemporaryFile(/tmp/multipartBody355900703033378975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444803262,"filename":"image_17082025_02_35_19_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677518","file1":"1377677515","file0":"1377677511","file4":"1377677522","file5":"1377677523","file3":"1377677520"},"map_files_photo_id_array":[{"photo_id":"1377677523","filename":"file5"},{"photo_id":"1377677518","filename":"file2"},{"photo_id":"1377677522","filename":"file4"},{"photo_id":"1377677515","filename":"file1"},{"photo_id":"1377677511","filename":"file0"},{"photo_id":"1377677520","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677515":["hashtag1","hashtag2"]},{"1377677518":["hashtag1","hashtag2"]},{"1377677523":["hashtag1","hashtag2"]},{"1377677511":["hashtag1","hashtag2"]},{"1377677520":["hashtag1","hashtag2"]},{"1377677522":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677515, 1377677518, 1377677523, 1377677511, 1377677520, 1377677522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16022777557373 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:33:22.561722
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/35/image_17082025_02_35_38_10353.jpg', '/media/data/images/17082025/02/35/image_17082025_02_35_48_10358.jpg', '/media/data/images/17082025/02/36/image_17082025_02_36_29_10336.jpg', '/media/data/images/17082025/02/36/image_17082025_02_36_38_9196.jpg', '/media/data/images/17082025/02/36/image_17082025_02_36_48_10341.jpg', '/media/data/images/17082025/02/36/image_17082025_02_36_59_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/35/image_17082025_02_35_38_10353.jpg
/media/data/images/17082025/02/35/image_17082025_02_35_48_10358.jpg
/media/data/images/17082025/02/36/image_17082025_02_36_29_10336.jpg
/media/data/images/17082025/02/36/image_17082025_02_36_38_9196.jpg
/media/data/images/17082025/02/36/image_17082025_02_36_48_10341.jpg
/media/data/images/17082025/02/36/image_17082025_02_36_59_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677680","1377677737","1377677734","1377677716","1377677730","1377677732"],"photo_ids_order":["1377677680","1377677716","1377677730","1377677732","1377677734","1377677737"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f99fb8c4136c1dd8c9fed882fc22e22.jpg","text":"TemporaryFile(/tmp/multipartBody6973377780808490989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_35_38_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6900b273aa13291a6ac46d95170b81dc.jpg","text":"TemporaryFile(/tmp/multipartBody2651515239782892102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_36_59_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1dab98ae1537efb02f78a907aced78ab.jpg","text":"TemporaryFile(/tmp/multipartBody4891983782034601106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_36_48_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef9a64926ad921f78898561bb99c91c0.jpg","text":"TemporaryFile(/tmp/multipartBody3726958201160111265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_35_48_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9fb0f80405d67f27f59024ade83571d.jpg","text":"TemporaryFile(/tmp/multipartBody5711693138902223677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_36_29_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bb903a1f54ff7f2fc9999d9c7472f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8399021010008615171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444863543,"filename":"image_17082025_02_36_38_9196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677730","file1":"1377677716","file0":"1377677680","file4":"1377677734","file5":"1377677737","file3":"1377677732"},"map_files_photo_id_array":[{"photo_id":"1377677737","filename":"file5"},{"photo_id":"1377677730","filename":"file2"},{"photo_id":"1377677734","filename":"file4"},{"photo_id":"1377677716","filename":"file1"},{"photo_id":"1377677680","filename":"file0"},{"photo_id":"1377677732","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677680":["hashtag1","hashtag2"]},{"1377677737":["hashtag1","hashtag2"]},{"1377677734":["hashtag1","hashtag2"]},{"1377677716":["hashtag1","hashtag2"]},{"1377677730":["hashtag1","hashtag2"]},{"1377677732":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677680, 1377677737, 1377677734, 1377677716, 1377677730, 1377677732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32094168663025 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:34:22.652620
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/37/image_17082025_02_37_09_10213.jpg', '/media/data/images/17082025/02/37/image_17082025_02_37_18_9163.jpg', '/media/data/images/17082025/02/37/image_17082025_02_37_39_10435.jpg', '/media/data/images/17082025/02/37/image_17082025_02_37_48_9189.jpg', '/media/data/images/17082025/02/37/image_17082025_02_37_58_10359.jpg', '/media/data/images/17082025/02/38/image_17082025_02_38_09_10232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/37/image_17082025_02_37_09_10213.jpg
/media/data/images/17082025/02/37/image_17082025_02_37_18_9163.jpg
/media/data/images/17082025/02/37/image_17082025_02_37_39_10435.jpg
/media/data/images/17082025/02/37/image_17082025_02_37_48_9189.jpg
/media/data/images/17082025/02/37/image_17082025_02_37_58_10359.jpg
/media/data/images/17082025/02/38/image_17082025_02_38_09_10232.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677764","1377677752","1377677766","1377677754","1377677751","1377677762"],"photo_ids_order":["1377677751","1377677752","1377677754","1377677762","1377677764","1377677766"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3b813faf8cdfa5c4b2355665f8785617.jpg","text":"TemporaryFile(/tmp/multipartBody2867496668456785459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_37_58_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a38bebd7cd2805c5ab2e701cb4610444.jpg","text":"TemporaryFile(/tmp/multipartBody6156104513272527811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_37_18_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7bb5f809204c1b748215d5d725479d0.jpg","text":"TemporaryFile(/tmp/multipartBody1049214630504876225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_38_09_10232.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53732752c60339ead5432f3be4ff1891.jpg","text":"TemporaryFile(/tmp/multipartBody4197836298761268867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_37_39_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4036197ad32eda6a999178a271d13ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1725456493472054790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_37_09_10213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/606ad315f1fa092d1348744fc3a07442.jpg","text":"TemporaryFile(/tmp/multipartBody8609985359744258478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444923631,"filename":"image_17082025_02_37_48_9189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677754","file1":"1377677752","file0":"1377677751","file4":"1377677764","file5":"1377677766","file3":"1377677762"},"map_files_photo_id_array":[{"photo_id":"1377677766","filename":"file5"},{"photo_id":"1377677754","filename":"file2"},{"photo_id":"1377677764","filename":"file4"},{"photo_id":"1377677752","filename":"file1"},{"photo_id":"1377677751","filename":"file0"},{"photo_id":"1377677762","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677764":["hashtag1","hashtag2"]},{"1377677752":["hashtag1","hashtag2"]},{"1377677766":["hashtag1","hashtag2"]},{"1377677754":["hashtag1","hashtag2"]},{"1377677751":["hashtag1","hashtag2"]},{"1377677762":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677764, 1377677752, 1377677766, 1377677754, 1377677751, 1377677762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27167367935181 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:35:22.763048
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/38/image_17082025_02_38_18_9263.jpg', '/media/data/images/17082025/02/38/image_17082025_02_38_28_10351.jpg', '/media/data/images/17082025/02/38/image_17082025_02_38_38_10345.jpg', '/media/data/images/17082025/02/38/image_17082025_02_38_48_9180.jpg', '/media/data/images/17082025/02/39/image_17082025_02_39_08_10313.jpg', '/media/data/images/17082025/02/39/image_17082025_02_39_38_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/38/image_17082025_02_38_18_9263.jpg
/media/data/images/17082025/02/38/image_17082025_02_38_28_10351.jpg
/media/data/images/17082025/02/38/image_17082025_02_38_38_10345.jpg
/media/data/images/17082025/02/38/image_17082025_02_38_48_9180.jpg
/media/data/images/17082025/02/39/image_17082025_02_39_08_10313.jpg
/media/data/images/17082025/02/39/image_17082025_02_39_38_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677819","1377677824","1377677833","1377677817","1377677840","1377677828"],"photo_ids_order":["1377677817","1377677819","1377677824","1377677828","1377677833","1377677840"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1fd14fc934755a04abe3b81f75c415c.jpg","text":"TemporaryFile(/tmp/multipartBody6800258978785319958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_38_28_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b131b17f34ae4c80719861c515996d6.jpg","text":"TemporaryFile(/tmp/multipartBody2980062820190840874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_38_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6660ba2eef8c19dc182b4985ba29732.jpg","text":"TemporaryFile(/tmp/multipartBody5171143484596243557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_39_08_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f81b37a0a24f87cc8a08fb3b4f98f99e.jpg","text":"TemporaryFile(/tmp/multipartBody2095366290081420107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_38_18_9263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be5fd28f1c35f0690caf0a1336276b40.jpg","text":"TemporaryFile(/tmp/multipartBody4478057130449933721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_39_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4b31ad24c1ee641a28a53e0768d5097.jpg","text":"TemporaryFile(/tmp/multipartBody1146564824399093870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444983738,"filename":"image_17082025_02_38_48_9180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677824","file1":"1377677819","file0":"1377677817","file4":"1377677833","file5":"1377677840","file3":"1377677828"},"map_files_photo_id_array":[{"photo_id":"1377677840","filename":"file5"},{"photo_id":"1377677824","filename":"file2"},{"photo_id":"1377677833","filename":"file4"},{"photo_id":"1377677819","filename":"file1"},{"photo_id":"1377677817","filename":"file0"},{"photo_id":"1377677828","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377677819":["hashtag1","hashtag2"]},{"1377677824":["hashtag1","hashtag2"]},{"1377677833":["hashtag1","hashtag2"]},{"1377677817":["hashtag1","hashtag2"]},{"1377677840":["hashtag1","hashtag2"]},{"1377677828":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377677819, 1377677824, 1377677833, 1377677817, 1377677840, 1377677828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02434802055359 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:36:21.886123
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/39/image_17082025_02_39_49_10404.jpg', '/media/data/images/17082025/02/39/image_17082025_02_39_58_9339.jpg', '/media/data/images/17082025/02/39/image_17082025_02_40_09_10570.jpg', '/media/data/images/17082025/02/40/image_17082025_02_40_18_9172.jpg', '/media/data/images/17082025/02/40/image_17082025_02_40_28_10401.jpg', '/media/data/images/17082025/02/40/image_17082025_02_40_38_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/39/image_17082025_02_39_49_10404.jpg
/media/data/images/17082025/02/39/image_17082025_02_39_58_9339.jpg
/media/data/images/17082025/02/39/image_17082025_02_40_09_10570.jpg
/media/data/images/17082025/02/40/image_17082025_02_40_18_9172.jpg
/media/data/images/17082025/02/40/image_17082025_02_40_28_10401.jpg
/media/data/images/17082025/02/40/image_17082025_02_40_38_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678049","1377678064","1377677995","1377678006","1377678044","1377678035"],"photo_ids_order":["1377677995","1377678006","1377678035","1377678044","1377678049","1377678064"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5f0edc4ef57ea883dbfacb2a86829e5.jpg","text":"TemporaryFile(/tmp/multipartBody219776793468431909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_40_28_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ad35b6988efa8dae48e3a14f9068f09.jpg","text":"TemporaryFile(/tmp/multipartBody3857599953495726024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_40_38_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c7b13a98c1323566a45e85d1a3fcb48.jpg","text":"TemporaryFile(/tmp/multipartBody3898301279439057743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_39_49_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e7b63ede55ba9fbe93a19adecaa17c8.jpg","text":"TemporaryFile(/tmp/multipartBody5799952910549346233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_39_58_9339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f28e39bd24cd12925e55033b9bdf90e4.jpg","text":"TemporaryFile(/tmp/multipartBody773496935598004000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_40_18_9172.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6040f7b0e05de78a58666e91f1dcb223.jpg","text":"TemporaryFile(/tmp/multipartBody617681233241903960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445042928,"filename":"image_17082025_02_40_09_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678035","file1":"1377678006","file0":"1377677995","file4":"1377678049","file5":"1377678064","file3":"1377678044"},"map_files_photo_id_array":[{"photo_id":"1377678064","filename":"file5"},{"photo_id":"1377678035","filename":"file2"},{"photo_id":"1377678049","filename":"file4"},{"photo_id":"1377678006","filename":"file1"},{"photo_id":"1377677995","filename":"file0"},{"photo_id":"1377678044","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678049":["hashtag1","hashtag2"]},{"1377678064":["hashtag1","hashtag2"]},{"1377677995":["hashtag1","hashtag2"]},{"1377678006":["hashtag1","hashtag2"]},{"1377678044":["hashtag1","hashtag2"]},{"1377678035":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678049, 1377678064, 1377677995, 1377678006, 1377678044, 1377678035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83958864212036 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:37:21.982928
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/40/image_17082025_02_40_58_10447.jpg', '/media/data/images/17082025/02/41/image_17082025_02_41_28_10374.jpg', '/media/data/images/17082025/02/41/image_17082025_02_41_38_10350.jpg', '/media/data/images/17082025/02/41/image_17082025_02_42_08_10473.jpg', '/media/data/images/17082025/02/42/image_17082025_02_42_28_9212.jpg', '/media/data/images/17082025/02/42/image_17082025_02_42_38_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/40/image_17082025_02_40_58_10447.jpg
/media/data/images/17082025/02/41/image_17082025_02_41_28_10374.jpg
/media/data/images/17082025/02/41/image_17082025_02_41_38_10350.jpg
/media/data/images/17082025/02/41/image_17082025_02_42_08_10473.jpg
/media/data/images/17082025/02/42/image_17082025_02_42_28_9212.jpg
/media/data/images/17082025/02/42/image_17082025_02_42_38_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678175","1377678208","1377678237","1377678234","1377678140","1377678233"],"photo_ids_order":["1377678140","1377678175","1377678208","1377678233","1377678234","1377678237"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8325fde0ed173435c9536c3f542c93e1.jpg","text":"TemporaryFile(/tmp/multipartBody5741862068057839551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_41_28_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82b6c1219876907a2c6860c66b714ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7616641212576359405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_41_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c84515fdca03e80510883c7ed79d7cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7251189837131885730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_42_38_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69d32d44ff9d7555e225ac124661b172.jpg","text":"TemporaryFile(/tmp/multipartBody5117406843258165398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_42_28_9212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19e55fecb636471c9deaeb8fe2d24bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6764447894249650724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_40_58_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/970f2c84ad671a3b1cdcbd9523748f58.jpg","text":"TemporaryFile(/tmp/multipartBody4506257208833279598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445102952,"filename":"image_17082025_02_42_08_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678208","file1":"1377678175","file0":"1377678140","file4":"1377678234","file5":"1377678237","file3":"1377678233"},"map_files_photo_id_array":[{"photo_id":"1377678237","filename":"file5"},{"photo_id":"1377678208","filename":"file2"},{"photo_id":"1377678234","filename":"file4"},{"photo_id":"1377678175","filename":"file1"},{"photo_id":"1377678140","filename":"file0"},{"photo_id":"1377678233","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678175":["hashtag1","hashtag2"]},{"1377678208":["hashtag1","hashtag2"]},{"1377678237":["hashtag1","hashtag2"]},{"1377678234":["hashtag1","hashtag2"]},{"1377678140":["hashtag1","hashtag2"]},{"1377678233":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678175, 1377678208, 1377678237, 1377678234, 1377678140, 1377678233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64782214164734 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:38:22.096129
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/42/image_17082025_02_42_48_9238.jpg', '/media/data/images/17082025/02/43/image_17082025_02_43_08_10295.jpg', '/media/data/images/17082025/02/43/image_17082025_02_43_19_10355.jpg', '/media/data/images/17082025/02/43/image_17082025_02_43_28_9194.jpg', '/media/data/images/17082025/02/43/image_17082025_02_43_49_10356.jpg', '/media/data/images/17082025/02/44/image_17082025_02_44_19_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/42/image_17082025_02_42_48_9238.jpg
/media/data/images/17082025/02/43/image_17082025_02_43_08_10295.jpg
/media/data/images/17082025/02/43/image_17082025_02_43_19_10355.jpg
/media/data/images/17082025/02/43/image_17082025_02_43_28_9194.jpg
/media/data/images/17082025/02/43/image_17082025_02_43_49_10356.jpg
/media/data/images/17082025/02/44/image_17082025_02_44_19_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678259","1377678256","1377678255","1377678260","1377678254","1377678263"],"photo_ids_order":["1377678254","1377678255","1377678256","1377678259","1377678260","1377678263"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a89983ab747c7902b9ce2a5e0d973366.jpg","text":"TemporaryFile(/tmp/multipartBody4649648570668356269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_43_28_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99c138eebe6d77e7c81f51a2078f9966.jpg","text":"TemporaryFile(/tmp/multipartBody1305565275035254428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_43_19_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df09fddee19188536b6dd87b58179332.jpg","text":"TemporaryFile(/tmp/multipartBody8021874216644999924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_43_08_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94d6a61a12eb1ce62020cc4c1ff3fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody1996780362276498236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_43_49_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d2e1c6b31567eae0deab2687f585098.jpg","text":"TemporaryFile(/tmp/multipartBody1374882153922999048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_42_48_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a39d0357baf0a0b44d95bc91f21b8131.jpg","text":"TemporaryFile(/tmp/multipartBody6991240040035157447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445163092,"filename":"image_17082025_02_44_19_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678256","file1":"1377678255","file0":"1377678254","file4":"1377678260","file5":"1377678263","file3":"1377678259"},"map_files_photo_id_array":[{"photo_id":"1377678263","filename":"file5"},{"photo_id":"1377678256","filename":"file2"},{"photo_id":"1377678260","filename":"file4"},{"photo_id":"1377678255","filename":"file1"},{"photo_id":"1377678254","filename":"file0"},{"photo_id":"1377678259","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678259":["hashtag1","hashtag2"]},{"1377678256":["hashtag1","hashtag2"]},{"1377678255":["hashtag1","hashtag2"]},{"1377678260":["hashtag1","hashtag2"]},{"1377678254":["hashtag1","hashtag2"]},{"1377678263":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678259, 1377678256, 1377678255, 1377678260, 1377678254, 1377678263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.676557779312134 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:39:22.219609
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/44/image_17082025_02_44_28_9207.jpg', '/media/data/images/17082025/02/44/image_17082025_02_44_38_10351.jpg', '/media/data/images/17082025/02/44/image_17082025_02_44_48_10352.jpg', '/media/data/images/17082025/02/44/image_17082025_02_44_59_10340.jpg', '/media/data/images/17082025/02/45/image_17082025_02_45_18_10335.jpg', '/media/data/images/17082025/02/45/image_17082025_02_45_38_9106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/44/image_17082025_02_44_28_9207.jpg
/media/data/images/17082025/02/44/image_17082025_02_44_38_10351.jpg
/media/data/images/17082025/02/44/image_17082025_02_44_48_10352.jpg
/media/data/images/17082025/02/44/image_17082025_02_44_59_10340.jpg
/media/data/images/17082025/02/45/image_17082025_02_45_18_10335.jpg
/media/data/images/17082025/02/45/image_17082025_02_45_38_9106.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678280","1377678307","1377678288","1377678312","1377678284","1377678277"],"photo_ids_order":["1377678277","1377678280","1377678284","1377678288","1377678307","1377678312"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e2a3853643906f176c4c11cba18e52f.jpg","text":"TemporaryFile(/tmp/multipartBody3664470672418904413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_44_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5db7bfa1c72670e9b92f0e66495d3852.jpg","text":"TemporaryFile(/tmp/multipartBody5869895313878077463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_45_18_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd80dfdf2b4d7ff5c26dc208896c39be.jpg","text":"TemporaryFile(/tmp/multipartBody7022551297824531321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_44_59_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b69bd27d8c52ff989e7a5f2bbefe1e87.jpg","text":"TemporaryFile(/tmp/multipartBody6656218881155940908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_45_38_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a6c275fc5c61ba04a4394fabbd06976.jpg","text":"TemporaryFile(/tmp/multipartBody2567454617716038214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_44_48_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d99eba1b7cf3f066475177b5373ff4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2483211705237673081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445223215,"filename":"image_17082025_02_44_28_9207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678284","file1":"1377678280","file0":"1377678277","file4":"1377678307","file5":"1377678312","file3":"1377678288"},"map_files_photo_id_array":[{"photo_id":"1377678312","filename":"file5"},{"photo_id":"1377678284","filename":"file2"},{"photo_id":"1377678307","filename":"file4"},{"photo_id":"1377678280","filename":"file1"},{"photo_id":"1377678277","filename":"file0"},{"photo_id":"1377678288","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678280":["hashtag1","hashtag2"]},{"1377678307":["hashtag1","hashtag2"]},{"1377678288":["hashtag1","hashtag2"]},{"1377678312":["hashtag1","hashtag2"]},{"1377678284":["hashtag1","hashtag2"]},{"1377678277":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678280, 1377678307, 1377678288, 1377678312, 1377678284, 1377678277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72334384918213 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:40:22.376359
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/45/image_17082025_02_45_58_10384.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_09_10154.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_18_9155.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_39_10441.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_58_10405.jpg', '/media/data/images/17082025/02/47/image_17082025_02_47_19_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/45/image_17082025_02_45_58_10384.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_09_10154.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_18_9155.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_39_10441.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_58_10405.jpg
/media/data/images/17082025/02/47/image_17082025_02_47_19_10487.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5276334285736084 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:40:42.330006
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/45/image_17082025_02_45_58_10384.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_09_10154.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_18_9155.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_39_10441.jpg', '/media/data/images/17082025/02/46/image_17082025_02_46_58_10405.jpg', '/media/data/images/17082025/02/47/image_17082025_02_47_19_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/45/image_17082025_02_45_58_10384.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_09_10154.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_18_9155.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_39_10441.jpg
/media/data/images/17082025/02/46/image_17082025_02_46_58_10405.jpg
/media/data/images/17082025/02/47/image_17082025_02_47_19_10487.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678343","1377678352","1377678354","1377678345","1377678348","1377678350"],"photo_ids_order":["1377678343","1377678345","1377678348","1377678350","1377678352","1377678354"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49995750e19e3f6e62c432587e48f732.jpg","text":"TemporaryFile(/tmp/multipartBody1068679684648750961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_45_58_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a19d99441dc24e968beb7227fa13dbc0.jpg","text":"TemporaryFile(/tmp/multipartBody7651701822044631576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_46_58_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b382043e56afc85f9212795115b89c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6079569800449150863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_47_19_10487.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21c01ab994fe79ba8d1a43f079aa483f.jpg","text":"TemporaryFile(/tmp/multipartBody6788083408209162476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_46_09_10154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16f7de5a2827dbfe30d1efd6e4e6f1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7104816584785314908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_46_18_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bac5f1e6af1b02a1845991810d1e13c9.jpg","text":"TemporaryFile(/tmp/multipartBody5079204469254822071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445303240,"filename":"image_17082025_02_46_39_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678348","file1":"1377678345","file0":"1377678343","file4":"1377678352","file5":"1377678354","file3":"1377678350"},"map_files_photo_id_array":[{"photo_id":"1377678354","filename":"file5"},{"photo_id":"1377678348","filename":"file2"},{"photo_id":"1377678352","filename":"file4"},{"photo_id":"1377678345","filename":"file1"},{"photo_id":"1377678343","filename":"file0"},{"photo_id":"1377678350","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678343":["hashtag1","hashtag2"]},{"1377678352":["hashtag1","hashtag2"]},{"1377678354":["hashtag1","hashtag2"]},{"1377678345":["hashtag1","hashtag2"]},{"1377678348":["hashtag1","hashtag2"]},{"1377678350":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678343, 1377678352, 1377678354, 1377678345, 1377678348, 1377678350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.063925981521606 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:41:22.422711
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/47/image_17082025_02_47_28_9199.jpg', '/media/data/images/17082025/02/47/image_17082025_02_47_49_10425.jpg', '/media/data/images/17082025/02/48/image_17082025_02_48_09_10471.jpg', '/media/data/images/17082025/02/48/image_17082025_02_48_28_10401.jpg', '/media/data/images/17082025/02/48/image_17082025_02_48_38_10330.jpg', '/media/data/images/17082025/02/48/image_17082025_02_48_49_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/47/image_17082025_02_47_28_9199.jpg
/media/data/images/17082025/02/47/image_17082025_02_47_49_10425.jpg
/media/data/images/17082025/02/48/image_17082025_02_48_09_10471.jpg
/media/data/images/17082025/02/48/image_17082025_02_48_28_10401.jpg
/media/data/images/17082025/02/48/image_17082025_02_48_38_10330.jpg
/media/data/images/17082025/02/48/image_17082025_02_48_49_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678370","1377678364","1377678367","1377678372","1377678366","1377678374"],"photo_ids_order":["1377678364","1377678366","1377678367","1377678370","1377678372","1377678374"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fcfc5a8df6517a0a8036613b0c2bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody613044067428412434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_48_28_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb2d5c6050c5779f0bd21c1998940bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8466482935494682095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_47_28_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/523debc3cd6b9f2347bf031024720844.jpg","text":"TemporaryFile(/tmp/multipartBody579940698763643342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_48_09_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5f4f0ec9a3a32bab3ae8a98706cc9dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6923892775940914048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_48_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5032748707489003df2f5817aa1b397.jpg","text":"TemporaryFile(/tmp/multipartBody322684274788986354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_47_49_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad485d83b58fa231720066cab8d3c15d.jpg","text":"TemporaryFile(/tmp/multipartBody1129653135459429659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445343378,"filename":"image_17082025_02_48_49_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678367","file1":"1377678366","file0":"1377678364","file4":"1377678372","file5":"1377678374","file3":"1377678370"},"map_files_photo_id_array":[{"photo_id":"1377678374","filename":"file5"},{"photo_id":"1377678367","filename":"file2"},{"photo_id":"1377678372","filename":"file4"},{"photo_id":"1377678366","filename":"file1"},{"photo_id":"1377678364","filename":"file0"},{"photo_id":"1377678370","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678370":["hashtag1","hashtag2"]},{"1377678364":["hashtag1","hashtag2"]},{"1377678367":["hashtag1","hashtag2"]},{"1377678372":["hashtag1","hashtag2"]},{"1377678366":["hashtag1","hashtag2"]},{"1377678374":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678370, 1377678364, 1377678367, 1377678372, 1377678366, 1377678374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.282217025756836 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:42:02.988692
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/48/image_17082025_02_48_58_9109.jpg', '/media/data/images/17082025/02/48/image_17082025_02_49_08_10581.jpg', '/media/data/images/17082025/02/49/image_17082025_02_49_28_9110.jpg', '/media/data/images/17082025/02/49/image_17082025_02_49_38_10351.jpg', '/media/data/images/17082025/02/49/image_17082025_02_49_49_10481.jpg', '/media/data/images/17082025/02/49/image_17082025_02_50_08_9732.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/48/image_17082025_02_48_58_9109.jpg
/media/data/images/17082025/02/48/image_17082025_02_49_08_10581.jpg
/media/data/images/17082025/02/49/image_17082025_02_49_28_9110.jpg
/media/data/images/17082025/02/49/image_17082025_02_49_38_10351.jpg
/media/data/images/17082025/02/49/image_17082025_02_49_49_10481.jpg
/media/data/images/17082025/02/49/image_17082025_02_50_08_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678391","1377678385","1377678379","1377678386","1377678389","1377678377"],"photo_ids_order":["1377678377","1377678379","1377678385","1377678386","1377678389","1377678391"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/376bc35b714ec68fc8df188f578619c9.jpg","text":"TemporaryFile(/tmp/multipartBody4247189074101496944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_50_08_9732.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8c4fb38785a271c4bb2c8a20dfe2ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8853573913590936791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_49_28_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e4a534bf16507d4be6dc1ed7b3ef378.jpg","text":"TemporaryFile(/tmp/multipartBody7156222275215705797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_49_08_10581.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ed836a812d33ad61a0dd9bf93eb5f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6780797841320562932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_49_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/684fe8b1b90c31078507fef4a5359262.jpg","text":"TemporaryFile(/tmp/multipartBody3387450199630304266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_49_49_10481.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89d434dc3883a16522bce6b0991f20ff.jpg","text":"TemporaryFile(/tmp/multipartBody2094425572855709674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445383953,"filename":"image_17082025_02_48_58_9109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678385","file1":"1377678379","file0":"1377678377","file4":"1377678389","file5":"1377678391","file3":"1377678386"},"map_files_photo_id_array":[{"photo_id":"1377678391","filename":"file5"},{"photo_id":"1377678385","filename":"file2"},{"photo_id":"1377678389","filename":"file4"},{"photo_id":"1377678379","filename":"file1"},{"photo_id":"1377678377","filename":"file0"},{"photo_id":"1377678386","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678391":["hashtag1","hashtag2"]},{"1377678385":["hashtag1","hashtag2"]},{"1377678379":["hashtag1","hashtag2"]},{"1377678386":["hashtag1","hashtag2"]},{"1377678389":["hashtag1","hashtag2"]},{"1377678377":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678391, 1377678385, 1377678379, 1377678386, 1377678389, 1377678377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.288774728775024 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:43:03.305779
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/50/image_17082025_02_50_18_10413.jpg', '/media/data/images/17082025/02/50/image_17082025_02_50_29_10467.jpg', '/media/data/images/17082025/02/50/image_17082025_02_50_38_9133.jpg', '/media/data/images/17082025/02/50/image_17082025_02_50_48_10359.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_09_10351.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_18_9109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/50/image_17082025_02_50_18_10413.jpg
/media/data/images/17082025/02/50/image_17082025_02_50_29_10467.jpg
/media/data/images/17082025/02/50/image_17082025_02_50_38_9133.jpg
/media/data/images/17082025/02/50/image_17082025_02_50_48_10359.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_09_10351.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_18_9109.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678399","1377678418","1377678403","1377678411","1377678414","1377678416"],"photo_ids_order":["1377678399","1377678403","1377678411","1377678414","1377678416","1377678418"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/115cbe40dfa188898ed125bb80b2da6b.jpg","text":"TemporaryFile(/tmp/multipartBody1218451904702156582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_50_18_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d2033c0a91a65f2cedbe164282a902d.jpg","text":"TemporaryFile(/tmp/multipartBody8178022122750876133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_51_18_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8aa99f9eb74b86b7b1b408e1c7b1ed2f.jpg","text":"TemporaryFile(/tmp/multipartBody825622624362775651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_50_29_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad9fa785da8c3556023b3846518dd821.jpg","text":"TemporaryFile(/tmp/multipartBody8265947392056644548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_50_38_9133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2e52b1f97099bd7c68c8edbca6f2fee.jpg","text":"TemporaryFile(/tmp/multipartBody4820672000744944507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_50_48_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d60a65ece219de9f89933ec5d76c3f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5131856401420480710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445444279,"filename":"image_17082025_02_51_09_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678411","file1":"1377678403","file0":"1377678399","file4":"1377678416","file5":"1377678418","file3":"1377678414"},"map_files_photo_id_array":[{"photo_id":"1377678418","filename":"file5"},{"photo_id":"1377678411","filename":"file2"},{"photo_id":"1377678416","filename":"file4"},{"photo_id":"1377678403","filename":"file1"},{"photo_id":"1377678399","filename":"file0"},{"photo_id":"1377678414","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678399":["hashtag1","hashtag2"]},{"1377678418":["hashtag1","hashtag2"]},{"1377678403":["hashtag1","hashtag2"]},{"1377678411":["hashtag1","hashtag2"]},{"1377678414":["hashtag1","hashtag2"]},{"1377678416":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678399, 1377678418, 1377678403, 1377678411, 1377678414, 1377678416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.601776361465454 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:44:03.394922
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/51/image_17082025_02_51_31_10394.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_38_9701.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_48_10333.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_59_10406.jpg', '/media/data/images/17082025/02/52/image_17082025_02_52_08_9192.jpg', '/media/data/images/17082025/02/52/image_17082025_02_52_29_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/51/image_17082025_02_51_31_10394.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_38_9701.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_48_10333.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_59_10406.jpg
/media/data/images/17082025/02/52/image_17082025_02_52_08_9192.jpg
/media/data/images/17082025/02/52/image_17082025_02_52_29_10393.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5420942306518555 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:44:22.759493
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/51/image_17082025_02_51_31_10394.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_38_9701.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_48_10333.jpg', '/media/data/images/17082025/02/51/image_17082025_02_51_59_10406.jpg', '/media/data/images/17082025/02/52/image_17082025_02_52_08_9192.jpg', '/media/data/images/17082025/02/52/image_17082025_02_52_29_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/51/image_17082025_02_51_31_10394.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_38_9701.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_48_10333.jpg
/media/data/images/17082025/02/51/image_17082025_02_51_59_10406.jpg
/media/data/images/17082025/02/52/image_17082025_02_52_08_9192.jpg
/media/data/images/17082025/02/52/image_17082025_02_52_29_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678445","1377678439","1377678436","1377678441","1377678447","1377678449"],"photo_ids_order":["1377678436","1377678439","1377678441","1377678445","1377678447","1377678449"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bcb7402bd1c9cac9f276229e116d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3455875979703441660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_51_59_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/417c62d8cd5c6ba2ac844a1d84852d61.jpg","text":"TemporaryFile(/tmp/multipartBody762952342757760031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_51_38_9701.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a5e464e206440b256fc629be19925e5.jpg","text":"TemporaryFile(/tmp/multipartBody6067703533182402852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_51_31_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e43a9776a3163535f64f87c3b3e9d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2647116793574515463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_51_48_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af78101b818e10879998308d8d9f7e83.jpg","text":"TemporaryFile(/tmp/multipartBody5492097594412015525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_52_08_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/73cb76d68f8291bf04bd5517bc203943.jpg","text":"TemporaryFile(/tmp/multipartBody1858374652538367178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445523693,"filename":"image_17082025_02_52_29_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678441","file1":"1377678439","file0":"1377678436","file4":"1377678447","file5":"1377678449","file3":"1377678445"},"map_files_photo_id_array":[{"photo_id":"1377678449","filename":"file5"},{"photo_id":"1377678441","filename":"file2"},{"photo_id":"1377678447","filename":"file4"},{"photo_id":"1377678439","filename":"file1"},{"photo_id":"1377678436","filename":"file0"},{"photo_id":"1377678445","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678445":["hashtag1","hashtag2"]},{"1377678439":["hashtag1","hashtag2"]},{"1377678436":["hashtag1","hashtag2"]},{"1377678441":["hashtag1","hashtag2"]},{"1377678447":["hashtag1","hashtag2"]},{"1377678449":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678445, 1377678439, 1377678436, 1377678441, 1377678447, 1377678449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74919676780701 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:45:21.938879
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/52/image_17082025_02_52_38_9124.jpg', '/media/data/images/17082025/02/53/image_17082025_02_53_08_9031.jpg', '/media/data/images/17082025/02/53/image_17082025_02_53_18_10345.jpg', '/media/data/images/17082025/02/53/image_17082025_02_53_38_9125.jpg', '/media/data/images/17082025/02/53/image_17082025_02_53_48_10443.jpg', '/media/data/images/17082025/02/53/image_17082025_02_53_58_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/52/image_17082025_02_52_38_9124.jpg
/media/data/images/17082025/02/53/image_17082025_02_53_08_9031.jpg
/media/data/images/17082025/02/53/image_17082025_02_53_18_10345.jpg
/media/data/images/17082025/02/53/image_17082025_02_53_38_9125.jpg
/media/data/images/17082025/02/53/image_17082025_02_53_48_10443.jpg
/media/data/images/17082025/02/53/image_17082025_02_53_58_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678613","1377678579","1377678687","1377678648","1377678723","1377678545"],"photo_ids_order":["1377678545","1377678579","1377678613","1377678648","1377678687","1377678723"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/551ee84b8d6d89c57aec1a0d93199dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5857112451066985805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_53_18_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8cd1bdadd4fc82a7fc46c25fd51c53a2.jpg","text":"TemporaryFile(/tmp/multipartBody8226816253031962384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_53_08_9031.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/02d4c0db68d496868a43957eacfcb321.jpg","text":"TemporaryFile(/tmp/multipartBody5896043393535167898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_53_48_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0cb9956a5997be3405bf7da838b64c52.jpg","text":"TemporaryFile(/tmp/multipartBody3522734358678619545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_53_38_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f3ae5d494409b42c66e828401509585.jpg","text":"TemporaryFile(/tmp/multipartBody8891480670751832496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_53_58_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c78e5ac484aad3fce6d2c1f8d78e5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4096350397781170547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445582915,"filename":"image_17082025_02_52_38_9124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678613","file1":"1377678579","file0":"1377678545","file4":"1377678687","file5":"1377678723","file3":"1377678648"},"map_files_photo_id_array":[{"photo_id":"1377678723","filename":"file5"},{"photo_id":"1377678613","filename":"file2"},{"photo_id":"1377678687","filename":"file4"},{"photo_id":"1377678579","filename":"file1"},{"photo_id":"1377678545","filename":"file0"},{"photo_id":"1377678648","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678613":["hashtag1","hashtag2"]},{"1377678579":["hashtag1","hashtag2"]},{"1377678687":["hashtag1","hashtag2"]},{"1377678648":["hashtag1","hashtag2"]},{"1377678723":["hashtag1","hashtag2"]},{"1377678545":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678613, 1377678579, 1377678687, 1377678648, 1377678723, 1377678545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21355414390564 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:46:22.059655
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/54/image_17082025_02_54_18_9107.jpg', '/media/data/images/17082025/02/54/image_17082025_02_54_28_10464.jpg', '/media/data/images/17082025/02/54/image_17082025_02_54_39_10351.jpg', '/media/data/images/17082025/02/54/image_17082025_02_54_48_9108.jpg', '/media/data/images/17082025/02/54/image_17082025_02_54_58_10347.jpg', '/media/data/images/17082025/02/55/image_17082025_02_55_08_10316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/54/image_17082025_02_54_18_9107.jpg
/media/data/images/17082025/02/54/image_17082025_02_54_28_10464.jpg
/media/data/images/17082025/02/54/image_17082025_02_54_39_10351.jpg
/media/data/images/17082025/02/54/image_17082025_02_54_48_9108.jpg
/media/data/images/17082025/02/54/image_17082025_02_54_58_10347.jpg
/media/data/images/17082025/02/55/image_17082025_02_55_08_10316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678820","1377678825","1377678822","1377678819","1377678818","1377678815"],"photo_ids_order":["1377678815","1377678818","1377678819","1377678820","1377678822","1377678825"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aea5011f5405d255921d88145278bc03.jpg","text":"TemporaryFile(/tmp/multipartBody8824578302926313650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_54_48_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25580e58785e8739c8abdefa7fe54cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6378896660922253075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_55_08_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78921c3c3e6942a73f1b595054502b44.jpg","text":"TemporaryFile(/tmp/multipartBody2240963670143181453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_54_58_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b953912aefa28a6cdb62ebf64520a6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3109996858749630230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_54_39_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/879a1ded7c6e985ef65113fbd6b4acb6.jpg","text":"TemporaryFile(/tmp/multipartBody8623146996539132184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_54_28_10464.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29a35c1a7b993e00a7426752fddd379c.jpg","text":"TemporaryFile(/tmp/multipartBody7229185498075994742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445643033,"filename":"image_17082025_02_54_18_9107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678819","file1":"1377678818","file0":"1377678815","file4":"1377678822","file5":"1377678825","file3":"1377678820"},"map_files_photo_id_array":[{"photo_id":"1377678825","filename":"file5"},{"photo_id":"1377678819","filename":"file2"},{"photo_id":"1377678822","filename":"file4"},{"photo_id":"1377678818","filename":"file1"},{"photo_id":"1377678815","filename":"file0"},{"photo_id":"1377678820","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678820":["hashtag1","hashtag2"]},{"1377678825":["hashtag1","hashtag2"]},{"1377678822":["hashtag1","hashtag2"]},{"1377678819":["hashtag1","hashtag2"]},{"1377678818":["hashtag1","hashtag2"]},{"1377678815":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678820, 1377678825, 1377678822, 1377678819, 1377678818, 1377678815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55814743041992 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:47:22.191486
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/55/image_17082025_02_55_19_10423.jpg', '/media/data/images/17082025/02/55/image_17082025_02_55_28_9150.jpg', '/media/data/images/17082025/02/55/image_17082025_02_55_38_10447.jpg', '/media/data/images/17082025/02/55/image_17082025_02_55_49_10390.jpg', '/media/data/images/17082025/02/55/image_17082025_02_55_58_9220.jpg', '/media/data/images/17082025/02/55/image_17082025_02_56_09_10523.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/55/image_17082025_02_55_19_10423.jpg
/media/data/images/17082025/02/55/image_17082025_02_55_28_9150.jpg
/media/data/images/17082025/02/55/image_17082025_02_55_38_10447.jpg
/media/data/images/17082025/02/55/image_17082025_02_55_49_10390.jpg
/media/data/images/17082025/02/55/image_17082025_02_55_58_9220.jpg
/media/data/images/17082025/02/55/image_17082025_02_56_09_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678844","1377678838","1377678846","1377678840","1377678842","1377678848"],"photo_ids_order":["1377678838","1377678840","1377678842","1377678844","1377678846","1377678848"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37a0aa13758362af4270c785a3ee0527.jpg","text":"TemporaryFile(/tmp/multipartBody8570181170571150905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_55_49_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3787a635de53f2aa4c705281106bf7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7381473515406029232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_55_19_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90103531cd0ebd5f48fec7a2f27f45ef.jpg","text":"TemporaryFile(/tmp/multipartBody212179453008752361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_55_58_9220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6bb0b8a61ce3e690d17a863d86495fd.jpg","text":"TemporaryFile(/tmp/multipartBody3355021025806003211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_55_28_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19924f43f7b7a8363e5fc0d2a832d219.jpg","text":"TemporaryFile(/tmp/multipartBody3104350315792136888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_55_38_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb0840a6a7c3e5221e6cebd2a9b57fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4058999953941229958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445703184,"filename":"image_17082025_02_56_09_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678842","file1":"1377678840","file0":"1377678838","file4":"1377678846","file5":"1377678848","file3":"1377678844"},"map_files_photo_id_array":[{"photo_id":"1377678848","filename":"file5"},{"photo_id":"1377678842","filename":"file2"},{"photo_id":"1377678846","filename":"file4"},{"photo_id":"1377678840","filename":"file1"},{"photo_id":"1377678838","filename":"file0"},{"photo_id":"1377678844","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678844":["hashtag1","hashtag2"]},{"1377678838":["hashtag1","hashtag2"]},{"1377678846":["hashtag1","hashtag2"]},{"1377678840":["hashtag1","hashtag2"]},{"1377678842":["hashtag1","hashtag2"]},{"1377678848":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678844, 1377678838, 1377678846, 1377678840, 1377678842, 1377678848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.119823694229126 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:48:22.295776
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/56/image_17082025_02_56_18_9169.jpg', '/media/data/images/17082025/02/56/image_17082025_02_56_28_10679.jpg', '/media/data/images/17082025/02/56/image_17082025_02_56_58_10465.jpg', '/media/data/images/17082025/02/57/image_17082025_02_57_09_10135.jpg', '/media/data/images/17082025/02/57/image_17082025_02_57_18_9209.jpg', '/media/data/images/17082025/02/57/image_17082025_02_57_28_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/56/image_17082025_02_56_18_9169.jpg
/media/data/images/17082025/02/56/image_17082025_02_56_28_10679.jpg
/media/data/images/17082025/02/56/image_17082025_02_56_58_10465.jpg
/media/data/images/17082025/02/57/image_17082025_02_57_09_10135.jpg
/media/data/images/17082025/02/57/image_17082025_02_57_18_9209.jpg
/media/data/images/17082025/02/57/image_17082025_02_57_28_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678874","1377678868","1377678879","1377678866","1377678877","1377678871"],"photo_ids_order":["1377678866","1377678868","1377678871","1377678874","1377678877","1377678879"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/671cca397403ed17a7f2eb1b69f64ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7841240562991139620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_57_09_10135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0486140339b3814f395d75c4b1227794.jpg","text":"TemporaryFile(/tmp/multipartBody5466119429764687071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_56_28_10679.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d00e80ffd79cc9d0f1dcabb9c4d4074.jpg","text":"TemporaryFile(/tmp/multipartBody1680583645129485354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_57_28_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/35584d0a77848dddab521349776f2bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3780622019700806902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_56_18_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ed4c8945ffeb9d7b3280e4ff528dce4.jpg","text":"TemporaryFile(/tmp/multipartBody8623895086156607751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_57_18_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/910bf37bdd416ce2641d7eec84c71b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2768982130146227895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445763274,"filename":"image_17082025_02_56_58_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678871","file1":"1377678868","file0":"1377678866","file4":"1377678877","file5":"1377678879","file3":"1377678874"},"map_files_photo_id_array":[{"photo_id":"1377678879","filename":"file5"},{"photo_id":"1377678871","filename":"file2"},{"photo_id":"1377678877","filename":"file4"},{"photo_id":"1377678868","filename":"file1"},{"photo_id":"1377678866","filename":"file0"},{"photo_id":"1377678874","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678874":["hashtag1","hashtag2"]},{"1377678868":["hashtag1","hashtag2"]},{"1377678879":["hashtag1","hashtag2"]},{"1377678866":["hashtag1","hashtag2"]},{"1377678877":["hashtag1","hashtag2"]},{"1377678871":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678874, 1377678868, 1377678879, 1377678866, 1377678877, 1377678871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.867148637771606 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:49:22.386861
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/57/image_17082025_02_57_48_9110.jpg', '/media/data/images/17082025/02/57/image_17082025_02_57_58_10432.jpg', '/media/data/images/17082025/02/58/image_17082025_02_58_28_10441.jpg', '/media/data/images/17082025/02/58/image_17082025_02_58_39_10356.jpg', '/media/data/images/17082025/02/58/image_17082025_02_58_48_9159.jpg', '/media/data/images/17082025/02/58/image_17082025_02_58_58_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/57/image_17082025_02_57_48_9110.jpg
/media/data/images/17082025/02/57/image_17082025_02_57_58_10432.jpg
/media/data/images/17082025/02/58/image_17082025_02_58_28_10441.jpg
/media/data/images/17082025/02/58/image_17082025_02_58_39_10356.jpg
/media/data/images/17082025/02/58/image_17082025_02_58_48_9159.jpg
/media/data/images/17082025/02/58/image_17082025_02_58_58_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678894","1377678899","1377678890","1377678893","1377678896","1377678895"],"photo_ids_order":["1377678890","1377678893","1377678894","1377678895","1377678896","1377678899"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/264c7ad832031bf18a872a724b0316a6.jpg","text":"TemporaryFile(/tmp/multipartBody2611619333713352449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_58_28_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e878338a2a4bec4c4e8058530e34d8f5.jpg","text":"TemporaryFile(/tmp/multipartBody6123587244418502208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_58_58_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0312e5b5d297e118bc7c65ac360928c7.jpg","text":"TemporaryFile(/tmp/multipartBody800591350169150877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_57_48_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6bfe7d5b9a1e9184acfc4d4131c415bc.jpg","text":"TemporaryFile(/tmp/multipartBody4719202901903555776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_57_58_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38a480df00154c249ced563d680e50f2.jpg","text":"TemporaryFile(/tmp/multipartBody713178037789700256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_58_48_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1933f24cf509d35ea80c7d4c31dc559c.jpg","text":"TemporaryFile(/tmp/multipartBody119156622074922095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445823366,"filename":"image_17082025_02_58_39_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678894","file1":"1377678893","file0":"1377678890","file4":"1377678896","file5":"1377678899","file3":"1377678895"},"map_files_photo_id_array":[{"photo_id":"1377678899","filename":"file5"},{"photo_id":"1377678894","filename":"file2"},{"photo_id":"1377678896","filename":"file4"},{"photo_id":"1377678893","filename":"file1"},{"photo_id":"1377678890","filename":"file0"},{"photo_id":"1377678895","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678894":["hashtag1","hashtag2"]},{"1377678899":["hashtag1","hashtag2"]},{"1377678890":["hashtag1","hashtag2"]},{"1377678893":["hashtag1","hashtag2"]},{"1377678896":["hashtag1","hashtag2"]},{"1377678895":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678894, 1377678899, 1377678890, 1377678893, 1377678896, 1377678895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12432837486267 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:50:22.528625
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/59/image_17082025_02_59_08_10195.jpg', '/media/data/images/17082025/02/59/image_17082025_02_59_19_10344.jpg', '/media/data/images/17082025/02/59/image_17082025_02_59_28_9107.jpg', '/media/data/images/17082025/02/59/image_17082025_02_59_38_10341.jpg', '/media/data/images/17082025/02/59/image_17082025_02_59_48_10350.jpg', '/media/data/images/17082025/02/59/image_17082025_02_59_58_9114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/59/image_17082025_02_59_08_10195.jpg
/media/data/images/17082025/02/59/image_17082025_02_59_19_10344.jpg
/media/data/images/17082025/02/59/image_17082025_02_59_28_9107.jpg
/media/data/images/17082025/02/59/image_17082025_02_59_38_10341.jpg
/media/data/images/17082025/02/59/image_17082025_02_59_48_10350.jpg
/media/data/images/17082025/02/59/image_17082025_02_59_58_9114.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678922","1377678913","1377678924","1377678915","1377678918","1377678920"],"photo_ids_order":["1377678913","1377678915","1377678918","1377678920","1377678922","1377678924"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e73fb443548d8585305e9c58c352cf32.jpg","text":"TemporaryFile(/tmp/multipartBody4713753638208893274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_48_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/971260721315ed1e755077d06cabe9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2945535989471098665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_08_10195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44697e258b31636409955489f2886f80.jpg","text":"TemporaryFile(/tmp/multipartBody4858515966996810276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_58_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30ae129ca55cee2121c8cfceb37c2d86.jpg","text":"TemporaryFile(/tmp/multipartBody8803854320683588265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_19_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a269825bec8356b422a0f620c7e9c333.jpg","text":"TemporaryFile(/tmp/multipartBody7907336745724990133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_28_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5753ae198b030a44b9bb89019c8d79d7.jpg","text":"TemporaryFile(/tmp/multipartBody453511999140854737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445883501,"filename":"image_17082025_02_59_38_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678918","file1":"1377678915","file0":"1377678913","file4":"1377678922","file5":"1377678924","file3":"1377678920"},"map_files_photo_id_array":[{"photo_id":"1377678924","filename":"file5"},{"photo_id":"1377678918","filename":"file2"},{"photo_id":"1377678922","filename":"file4"},{"photo_id":"1377678915","filename":"file1"},{"photo_id":"1377678913","filename":"file0"},{"photo_id":"1377678920","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678922":["hashtag1","hashtag2"]},{"1377678913":["hashtag1","hashtag2"]},{"1377678924":["hashtag1","hashtag2"]},{"1377678915":["hashtag1","hashtag2"]},{"1377678918":["hashtag1","hashtag2"]},{"1377678920":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678922, 1377678913, 1377678924, 1377678915, 1377678918, 1377678920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83070111274719 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:51:22.676952
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/02/59/image_17082025_03_00_08_10550.jpg', '/media/data/images/17082025/02/59/image_17082025_03_00_19_10428.jpg', '/media/data/images/17082025/02/59/image_17082025_03_00_28_9190.jpg', '/media/data/images/17082025/02/59/image_17082025_03_00_38_10344.jpg', '/media/data/images/17082025/02/59/image_17082025_03_00_48_10334.jpg', '/media/data/images/17082025/02/59/image_17082025_03_00_59_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/02/59/image_17082025_03_00_08_10550.jpg
/media/data/images/17082025/02/59/image_17082025_03_00_19_10428.jpg
/media/data/images/17082025/02/59/image_17082025_03_00_28_9190.jpg
/media/data/images/17082025/02/59/image_17082025_03_00_38_10344.jpg
/media/data/images/17082025/02/59/image_17082025_03_00_48_10334.jpg
/media/data/images/17082025/02/59/image_17082025_03_00_59_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678946","1377678940","1377678934","1377678943","1377678937","1377678947"],"photo_ids_order":["1377678934","1377678937","1377678940","1377678943","1377678946","1377678947"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c545b83ab11536bb6ede7d311bbbf0d4.jpg","text":"TemporaryFile(/tmp/multipartBody3783554481623913007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_48_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/023082e70c4c3688c06e07358720bd44.jpg","text":"TemporaryFile(/tmp/multipartBody7177610880764350646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_28_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0dfbf6900b079e019603768d1a52b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5690292714132157692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_08_10550.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5df38a1ea95682293dfa61e7628575c9.jpg","text":"TemporaryFile(/tmp/multipartBody6047857383736362072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_38_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ce73b7dca583eff1f6bd77e4d1af21e.jpg","text":"TemporaryFile(/tmp/multipartBody3749662118215499907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_19_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04b8aeb2e391a91d1eb844cea0cd7537.jpg","text":"TemporaryFile(/tmp/multipartBody2937498922821636079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445943673,"filename":"image_17082025_03_00_59_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678940","file1":"1377678937","file0":"1377678934","file4":"1377678946","file5":"1377678947","file3":"1377678943"},"map_files_photo_id_array":[{"photo_id":"1377678947","filename":"file5"},{"photo_id":"1377678940","filename":"file2"},{"photo_id":"1377678946","filename":"file4"},{"photo_id":"1377678937","filename":"file1"},{"photo_id":"1377678934","filename":"file0"},{"photo_id":"1377678943","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678946":["hashtag1","hashtag2"]},{"1377678940":["hashtag1","hashtag2"]},{"1377678934":["hashtag1","hashtag2"]},{"1377678943":["hashtag1","hashtag2"]},{"1377678937":["hashtag1","hashtag2"]},{"1377678947":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678946, 1377678940, 1377678934, 1377678943, 1377678937, 1377678947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62712621688843 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:52:21.785846
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/01/image_17082025_03_01_08_8991.jpg', '/media/data/images/17082025/03/01/image_17082025_03_01_18_10336.jpg', '/media/data/images/17082025/03/01/image_17082025_03_01_28_10381.jpg', '/media/data/images/17082025/03/01/image_17082025_03_01_38_9183.jpg', '/media/data/images/17082025/03/01/image_17082025_03_01_48_10331.jpg', '/media/data/images/17082025/03/01/image_17082025_03_01_58_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/01/image_17082025_03_01_08_8991.jpg
/media/data/images/17082025/03/01/image_17082025_03_01_18_10336.jpg
/media/data/images/17082025/03/01/image_17082025_03_01_28_10381.jpg
/media/data/images/17082025/03/01/image_17082025_03_01_38_9183.jpg
/media/data/images/17082025/03/01/image_17082025_03_01_48_10331.jpg
/media/data/images/17082025/03/01/image_17082025_03_01_58_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678967","1377678961","1377678963","1377678965","1377678959","1377678964"],"photo_ids_order":["1377678959","1377678961","1377678963","1377678964","1377678965","1377678967"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed9a006e54d205413c31fdff8ef138ea.jpg","text":"TemporaryFile(/tmp/multipartBody5422997152293073784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_58_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5065989ab1fb761dae0619ab3531237b.jpg","text":"TemporaryFile(/tmp/multipartBody6533782894654090828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_18_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac21cb8ce0756f15076748c1ea04d027.jpg","text":"TemporaryFile(/tmp/multipartBody3726601617500853597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_28_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00e51bad2bb56147b209a45feb4379cc.jpg","text":"TemporaryFile(/tmp/multipartBody3993931926715717635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_48_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2243e786efb2a642dc189a26b18ac84.jpg","text":"TemporaryFile(/tmp/multipartBody3984769001569051501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_08_8991.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52880f5b3fc4207897e002a9d01a7fac.jpg","text":"TemporaryFile(/tmp/multipartBody8172760807836254082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446002772,"filename":"image_17082025_03_01_38_9183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678963","file1":"1377678961","file0":"1377678959","file4":"1377678965","file5":"1377678967","file3":"1377678964"},"map_files_photo_id_array":[{"photo_id":"1377678967","filename":"file5"},{"photo_id":"1377678963","filename":"file2"},{"photo_id":"1377678965","filename":"file4"},{"photo_id":"1377678961","filename":"file1"},{"photo_id":"1377678959","filename":"file0"},{"photo_id":"1377678964","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678967":["hashtag1","hashtag2"]},{"1377678961":["hashtag1","hashtag2"]},{"1377678963":["hashtag1","hashtag2"]},{"1377678965":["hashtag1","hashtag2"]},{"1377678959":["hashtag1","hashtag2"]},{"1377678964":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678967, 1377678961, 1377678963, 1377678965, 1377678959, 1377678964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65473532676697 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:53:21.854261
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/02/image_17082025_03_02_39_10342.jpg', '/media/data/images/17082025/03/02/image_17082025_03_02_48_9116.jpg', '/media/data/images/17082025/03/02/image_17082025_03_02_58_10422.jpg', '/media/data/images/17082025/03/03/image_17082025_03_03_08_10104.jpg', '/media/data/images/17082025/03/03/image_17082025_03_03_19_10381.jpg', '/media/data/images/17082025/03/03/image_17082025_03_03_38_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/02/image_17082025_03_02_39_10342.jpg
/media/data/images/17082025/03/02/image_17082025_03_02_48_9116.jpg
/media/data/images/17082025/03/02/image_17082025_03_02_58_10422.jpg
/media/data/images/17082025/03/03/image_17082025_03_03_08_10104.jpg
/media/data/images/17082025/03/03/image_17082025_03_03_19_10381.jpg
/media/data/images/17082025/03/03/image_17082025_03_03_38_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678987","1377678981","1377678983","1377678982","1377678991","1377678985"],"photo_ids_order":["1377678981","1377678982","1377678983","1377678985","1377678987","1377678991"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e4be8efb83e6ed9d46377991a1881b6.jpg","text":"TemporaryFile(/tmp/multipartBody593898984859060970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_03_19_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a52a075b4a140bd79e039832814452f8.jpg","text":"TemporaryFile(/tmp/multipartBody6646440950653567785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_02_39_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29d64c7c9b6f65c86d54ca5d0061ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody5807513259761043143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_02_58_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a480adc9fedad4b2220ffe33c34542b.jpg","text":"TemporaryFile(/tmp/multipartBody3894339984254456580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_02_48_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1aae9e8bf80c9c0acf0ebba8acdaa131.jpg","text":"TemporaryFile(/tmp/multipartBody4016670684513358001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_03_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50432edf9d72da158123c05d1d695c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7521946390591724523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446062844,"filename":"image_17082025_03_03_08_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678983","file1":"1377678982","file0":"1377678981","file4":"1377678987","file5":"1377678991","file3":"1377678985"},"map_files_photo_id_array":[{"photo_id":"1377678991","filename":"file5"},{"photo_id":"1377678983","filename":"file2"},{"photo_id":"1377678987","filename":"file4"},{"photo_id":"1377678982","filename":"file1"},{"photo_id":"1377678981","filename":"file0"},{"photo_id":"1377678985","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377678987":["hashtag1","hashtag2"]},{"1377678981":["hashtag1","hashtag2"]},{"1377678983":["hashtag1","hashtag2"]},{"1377678982":["hashtag1","hashtag2"]},{"1377678991":["hashtag1","hashtag2"]},{"1377678985":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377678987, 1377678981, 1377678983, 1377678982, 1377678991, 1377678985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85272550582886 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:54:21.943553
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/03/image_17082025_03_03_49_10372.jpg', '/media/data/images/17082025/03/03/image_17082025_03_04_08_10523.jpg', '/media/data/images/17082025/03/04/image_17082025_03_04_19_10396.jpg', '/media/data/images/17082025/03/04/image_17082025_03_04_28_9097.jpg', '/media/data/images/17082025/03/04/image_17082025_03_04_38_10351.jpg', '/media/data/images/17082025/03/04/image_17082025_03_04_49_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/03/image_17082025_03_03_49_10372.jpg
/media/data/images/17082025/03/03/image_17082025_03_04_08_10523.jpg
/media/data/images/17082025/03/04/image_17082025_03_04_19_10396.jpg
/media/data/images/17082025/03/04/image_17082025_03_04_28_9097.jpg
/media/data/images/17082025/03/04/image_17082025_03_04_38_10351.jpg
/media/data/images/17082025/03/04/image_17082025_03_04_49_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679003","1377679012","1377679006","1377679008","1377679010","1377679013"],"photo_ids_order":["1377679003","1377679006","1377679008","1377679010","1377679012","1377679013"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6742d58b68061947b954c4a17ae4488.jpg","text":"TemporaryFile(/tmp/multipartBody2411636810559267682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_03_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8682a90022e6a943ecd349098c34c1fc.jpg","text":"TemporaryFile(/tmp/multipartBody9068816320297749111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_04_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1f6f70260e12dbf8e40fbc635fe99e0.jpg","text":"TemporaryFile(/tmp/multipartBody8899571461285557929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_04_08_10523.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ba75728afab4a6ed3ab8d3e2c6b624a.jpg","text":"TemporaryFile(/tmp/multipartBody8617606566338849024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_04_19_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a44c8e6325e29ba13ee30764e351265a.jpg","text":"TemporaryFile(/tmp/multipartBody6367119043682305442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_04_28_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ceabc222ff4bea0a31b1a182fc26964c.jpg","text":"TemporaryFile(/tmp/multipartBody1759822124981729664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446122924,"filename":"image_17082025_03_04_49_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679008","file1":"1377679006","file0":"1377679003","file4":"1377679012","file5":"1377679013","file3":"1377679010"},"map_files_photo_id_array":[{"photo_id":"1377679013","filename":"file5"},{"photo_id":"1377679008","filename":"file2"},{"photo_id":"1377679012","filename":"file4"},{"photo_id":"1377679006","filename":"file1"},{"photo_id":"1377679003","filename":"file0"},{"photo_id":"1377679010","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679003":["hashtag1","hashtag2"]},{"1377679012":["hashtag1","hashtag2"]},{"1377679006":["hashtag1","hashtag2"]},{"1377679008":["hashtag1","hashtag2"]},{"1377679010":["hashtag1","hashtag2"]},{"1377679013":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679003, 1377679012, 1377679006, 1377679008, 1377679010, 1377679013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12550616264343 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:55:22.074421
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/04/image_17082025_03_04_58_9271.jpg', '/media/data/images/17082025/03/04/image_17082025_03_05_08_10504.jpg', '/media/data/images/17082025/03/05/image_17082025_03_05_19_10343.jpg', '/media/data/images/17082025/03/05/image_17082025_03_05_38_10397.jpg', '/media/data/images/17082025/03/05/image_17082025_03_05_49_10325.jpg', '/media/data/images/17082025/03/06/image_17082025_03_06_19_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/04/image_17082025_03_04_58_9271.jpg
/media/data/images/17082025/03/04/image_17082025_03_05_08_10504.jpg
/media/data/images/17082025/03/05/image_17082025_03_05_19_10343.jpg
/media/data/images/17082025/03/05/image_17082025_03_05_38_10397.jpg
/media/data/images/17082025/03/05/image_17082025_03_05_49_10325.jpg
/media/data/images/17082025/03/06/image_17082025_03_06_19_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679030","1377679032","1377679026","1377679034","1377679031","1377679028"],"photo_ids_order":["1377679026","1377679028","1377679030","1377679031","1377679032","1377679034"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91d2f22195dcfe1f05f2607eab6f8f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5376904795149858913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_05_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1343b23d25caccf221023172e667448.jpg","text":"TemporaryFile(/tmp/multipartBody4752030512640303647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_05_49_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc6c12eb5603b15c8d19d6422e4524a1.jpg","text":"TemporaryFile(/tmp/multipartBody3547689728594059615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_04_58_9271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9bc2ab005e618883a0cbfb94596783f4.jpg","text":"TemporaryFile(/tmp/multipartBody6890540555341917710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_06_19_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0e492e89b58e475452d92256c8cff6f.jpg","text":"TemporaryFile(/tmp/multipartBody8843242390843188606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_05_38_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d00346df9ceb88c37eaa607272bdfab.jpg","text":"TemporaryFile(/tmp/multipartBody5465435687399967092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446183051,"filename":"image_17082025_03_05_08_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679030","file1":"1377679028","file0":"1377679026","file4":"1377679032","file5":"1377679034","file3":"1377679031"},"map_files_photo_id_array":[{"photo_id":"1377679034","filename":"file5"},{"photo_id":"1377679030","filename":"file2"},{"photo_id":"1377679032","filename":"file4"},{"photo_id":"1377679028","filename":"file1"},{"photo_id":"1377679026","filename":"file0"},{"photo_id":"1377679031","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679030":["hashtag1","hashtag2"]},{"1377679032":["hashtag1","hashtag2"]},{"1377679026":["hashtag1","hashtag2"]},{"1377679034":["hashtag1","hashtag2"]},{"1377679031":["hashtag1","hashtag2"]},{"1377679028":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679030, 1377679032, 1377679026, 1377679034, 1377679031, 1377679028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57007193565369 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:56:22.164939
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/06/image_17082025_03_06_28_9106.jpg', '/media/data/images/17082025/03/06/image_17082025_03_06_38_10340.jpg', '/media/data/images/17082025/03/06/image_17082025_03_06_49_10395.jpg', '/media/data/images/17082025/03/06/image_17082025_03_06_58_9349.jpg', '/media/data/images/17082025/03/06/image_17082025_03_07_09_10658.jpg', '/media/data/images/17082025/03/07/image_17082025_03_07_38_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/06/image_17082025_03_06_28_9106.jpg
/media/data/images/17082025/03/06/image_17082025_03_06_38_10340.jpg
/media/data/images/17082025/03/06/image_17082025_03_06_49_10395.jpg
/media/data/images/17082025/03/06/image_17082025_03_06_58_9349.jpg
/media/data/images/17082025/03/06/image_17082025_03_07_09_10658.jpg
/media/data/images/17082025/03/07/image_17082025_03_07_38_10427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679050","1377679047","1377679052","1377679055","1377679046","1377679048"],"photo_ids_order":["1377679046","1377679047","1377679048","1377679050","1377679052","1377679055"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d4edd2fe7bc7bbe4634f59e45010323.jpg","text":"TemporaryFile(/tmp/multipartBody3898971016430033368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_06_58_9349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/728d729590090beaa5973f15b4b6a534.jpg","text":"TemporaryFile(/tmp/multipartBody6512790519966529749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_06_38_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4f1c558d113379b2c3d938e4d6ca7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7253890588695623765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_07_09_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d5fcef89677e9b4e02f37c19b9053a2.jpg","text":"TemporaryFile(/tmp/multipartBody7544655014524306483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_07_38_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37f0771512f2ea75693f1f30f4f7928c.jpg","text":"TemporaryFile(/tmp/multipartBody5686726194728937647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_06_28_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41a00403a2e183c179dfbf3e2b69361d.jpg","text":"TemporaryFile(/tmp/multipartBody7082122929672226212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446243158,"filename":"image_17082025_03_06_49_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679048","file1":"1377679047","file0":"1377679046","file4":"1377679052","file5":"1377679055","file3":"1377679050"},"map_files_photo_id_array":[{"photo_id":"1377679055","filename":"file5"},{"photo_id":"1377679048","filename":"file2"},{"photo_id":"1377679052","filename":"file4"},{"photo_id":"1377679047","filename":"file1"},{"photo_id":"1377679046","filename":"file0"},{"photo_id":"1377679050","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679050":["hashtag1","hashtag2"]},{"1377679047":["hashtag1","hashtag2"]},{"1377679052":["hashtag1","hashtag2"]},{"1377679055":["hashtag1","hashtag2"]},{"1377679046":["hashtag1","hashtag2"]},{"1377679048":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679050, 1377679047, 1377679052, 1377679055, 1377679046, 1377679048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.224918365478516 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:57:02.911069
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/07/image_17082025_03_07_48_9102.jpg', '/media/data/images/17082025/03/07/image_17082025_03_07_58_10432.jpg', '/media/data/images/17082025/03/08/image_17082025_03_08_39_10444.jpg', '/media/data/images/17082025/03/08/image_17082025_03_08_48_9277.jpg', '/media/data/images/17082025/03/08/image_17082025_03_08_58_10331.jpg', '/media/data/images/17082025/03/09/image_17082025_03_09_08_10256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/07/image_17082025_03_07_48_9102.jpg
/media/data/images/17082025/03/07/image_17082025_03_07_58_10432.jpg
/media/data/images/17082025/03/08/image_17082025_03_08_39_10444.jpg
/media/data/images/17082025/03/08/image_17082025_03_08_48_9277.jpg
/media/data/images/17082025/03/08/image_17082025_03_08_58_10331.jpg
/media/data/images/17082025/03/09/image_17082025_03_09_08_10256.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679185","1377679077","1377679158","1377679145","1377679109","1377679168"],"photo_ids_order":["1377679077","1377679109","1377679145","1377679158","1377679168","1377679185"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d76146767f02a1cea71bff98263edb05.jpg","text":"TemporaryFile(/tmp/multipartBody1718164774136486628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_09_08_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d29a71daca78a9aba2c1bd5b14ddc58a.jpg","text":"TemporaryFile(/tmp/multipartBody7013810858712946338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_07_48_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e6babf4b86bf46fc240c261cf13f189.jpg","text":"TemporaryFile(/tmp/multipartBody70872353793445848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_08_48_9277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c27daeb83cd134b512eea039a454784b.jpg","text":"TemporaryFile(/tmp/multipartBody8342675159019760085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_08_39_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0586ed630c711a214fb8ecb03634dab7.jpg","text":"TemporaryFile(/tmp/multipartBody987817695235504136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_07_58_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66243213696616a468fea371f0c2e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3353988010335397665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446283896,"filename":"image_17082025_03_08_58_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679145","file1":"1377679109","file0":"1377679077","file4":"1377679168","file5":"1377679185","file3":"1377679158"},"map_files_photo_id_array":[{"photo_id":"1377679185","filename":"file5"},{"photo_id":"1377679145","filename":"file2"},{"photo_id":"1377679168","filename":"file4"},{"photo_id":"1377679109","filename":"file1"},{"photo_id":"1377679077","filename":"file0"},{"photo_id":"1377679158","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679185":["hashtag1","hashtag2"]},{"1377679077":["hashtag1","hashtag2"]},{"1377679158":["hashtag1","hashtag2"]},{"1377679145":["hashtag1","hashtag2"]},{"1377679109":["hashtag1","hashtag2"]},{"1377679168":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679185, 1377679077, 1377679158, 1377679145, 1377679109, 1377679168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22021770477295 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 17:59:03.381866
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/09/image_17082025_03_09_18_9241.jpg', '/media/data/images/17082025/03/09/image_17082025_03_09_28_10356.jpg', '/media/data/images/17082025/03/09/image_17082025_03_09_38_10341.jpg', '/media/data/images/17082025/03/09/image_17082025_03_09_49_10357.jpg', '/media/data/images/17082025/03/09/image_17082025_03_10_08_10473.jpg', '/media/data/images/17082025/03/10/image_17082025_03_10_28_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/09/image_17082025_03_09_18_9241.jpg
/media/data/images/17082025/03/09/image_17082025_03_09_28_10356.jpg
/media/data/images/17082025/03/09/image_17082025_03_09_38_10341.jpg
/media/data/images/17082025/03/09/image_17082025_03_09_49_10357.jpg
/media/data/images/17082025/03/09/image_17082025_03_10_08_10473.jpg
/media/data/images/17082025/03/10/image_17082025_03_10_28_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679213","1377679196","1377679215","1377679208","1377679198","1377679210"],"photo_ids_order":["1377679196","1377679198","1377679208","1377679210","1377679213","1377679215"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/253aab89b66d69c7ae124cc4756ee13a.jpg","text":"TemporaryFile(/tmp/multipartBody3173506678155479327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_10_08_10473.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44e02d8a9b6823a1c440500f3b2777ea.jpg","text":"TemporaryFile(/tmp/multipartBody6455510946210166056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_09_18_9241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a7b53fa2ea1d37cf8ecd12c6ee47104.jpg","text":"TemporaryFile(/tmp/multipartBody5046504533907974464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_10_28_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3239cc607634cf6a114f5daef9a6de14.jpg","text":"TemporaryFile(/tmp/multipartBody6858681678048558560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_09_38_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a618a0a397f135d6f655203a30a8793.jpg","text":"TemporaryFile(/tmp/multipartBody5930240510144711871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_09_28_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f656f198a7de61c6c0613ae351a890ea.jpg","text":"TemporaryFile(/tmp/multipartBody7459211171074583478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404365,"filename":"image_17082025_03_09_49_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679208","file1":"1377679198","file0":"1377679196","file4":"1377679213","file5":"1377679215","file3":"1377679210"},"map_files_photo_id_array":[{"photo_id":"1377679215","filename":"file5"},{"photo_id":"1377679208","filename":"file2"},{"photo_id":"1377679213","filename":"file4"},{"photo_id":"1377679198","filename":"file1"},{"photo_id":"1377679196","filename":"file0"},{"photo_id":"1377679210","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679213":["hashtag1","hashtag2"]},{"1377679196":["hashtag1","hashtag2"]},{"1377679215":["hashtag1","hashtag2"]},{"1377679208":["hashtag1","hashtag2"]},{"1377679198":["hashtag1","hashtag2"]},{"1377679210":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679213, 1377679196, 1377679215, 1377679208, 1377679198, 1377679210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61981821060181 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:00:03.079552
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/10/image_17082025_03_10_38_10326.jpg', '/media/data/images/17082025/03/10/image_17082025_03_10_49_10331.jpg', '/media/data/images/17082025/03/10/image_17082025_03_10_58_9154.jpg', '/media/data/images/17082025/03/10/image_17082025_03_11_08_10339.jpg', '/media/data/images/17082025/03/11/image_17082025_03_11_18_10380.jpg', '/media/data/images/17082025/03/11/image_17082025_03_11_29_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/10/image_17082025_03_10_38_10326.jpg
/media/data/images/17082025/03/10/image_17082025_03_10_49_10331.jpg
/media/data/images/17082025/03/10/image_17082025_03_10_58_9154.jpg
/media/data/images/17082025/03/10/image_17082025_03_11_08_10339.jpg
/media/data/images/17082025/03/11/image_17082025_03_11_18_10380.jpg
/media/data/images/17082025/03/11/image_17082025_03_11_29_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679476","1377679383","1377679600","1377679418","1377679666","1377679537"],"photo_ids_order":["1377679383","1377679418","1377679476","1377679537","1377679600","1377679666"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2760dfdac42c82c5fc6439d883bc9215.jpg","text":"TemporaryFile(/tmp/multipartBody2179987659921632624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_10_58_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aac3287453fe8645a1465da440e3b093.jpg","text":"TemporaryFile(/tmp/multipartBody7805684595752979668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_10_38_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7240daa42b558ee0f1c24c58a39ba31.jpg","text":"TemporaryFile(/tmp/multipartBody6865420006826783086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_11_18_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39b6e026527b68fadf572a197798318f.jpg","text":"TemporaryFile(/tmp/multipartBody8506237744526551922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_10_49_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89501bb03f6641d23fb4c613bed2499f.jpg","text":"TemporaryFile(/tmp/multipartBody7935040247036756679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_11_29_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a777115477e0d74fe02a417759a9ff0.jpg","text":"TemporaryFile(/tmp/multipartBody735961575232193024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446464053,"filename":"image_17082025_03_11_08_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679476","file1":"1377679418","file0":"1377679383","file4":"1377679600","file5":"1377679666","file3":"1377679537"},"map_files_photo_id_array":[{"photo_id":"1377679666","filename":"file5"},{"photo_id":"1377679476","filename":"file2"},{"photo_id":"1377679600","filename":"file4"},{"photo_id":"1377679418","filename":"file1"},{"photo_id":"1377679383","filename":"file0"},{"photo_id":"1377679537","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377679476":["hashtag1","hashtag2"]},{"1377679383":["hashtag1","hashtag2"]},{"1377679600":["hashtag1","hashtag2"]},{"1377679418":["hashtag1","hashtag2"]},{"1377679666":["hashtag1","hashtag2"]},{"1377679537":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377679476, 1377679383, 1377679600, 1377679418, 1377679666, 1377679537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52901291847229 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:01:02.471842
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/11/image_17082025_03_11_38_9095.jpg', '/media/data/images/17082025/03/11/image_17082025_03_11_48_10328.jpg', '/media/data/images/17082025/03/11/image_17082025_03_11_59_10351.jpg', '/media/data/images/17082025/03/12/image_17082025_03_12_09_10210.jpg', '/media/data/images/17082025/03/12/image_17082025_03_12_18_9099.jpg', '/media/data/images/17082025/03/12/image_17082025_03_12_58_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/11/image_17082025_03_11_38_9095.jpg
/media/data/images/17082025/03/11/image_17082025_03_11_48_10328.jpg
/media/data/images/17082025/03/11/image_17082025_03_11_59_10351.jpg
/media/data/images/17082025/03/12/image_17082025_03_12_09_10210.jpg
/media/data/images/17082025/03/12/image_17082025_03_12_18_9099.jpg
/media/data/images/17082025/03/12/image_17082025_03_12_58_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377680731","1377680632","1377680696","1377680540","1377680273","1377680111"],"photo_ids_order":["1377680111","1377680273","1377680540","1377680632","1377680696","1377680731"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e78b4f90289e7cf4c6712bc1c692ddf7.jpg","text":"TemporaryFile(/tmp/multipartBody9081223133311095265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_12_58_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57be13f179becac4fa06799e45835d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4460436030948387095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_12_09_10210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5667ddbe39f606c701922980188a9c50.jpg","text":"TemporaryFile(/tmp/multipartBody7419788695937977585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_12_18_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9eca93d5d40417beed625ae3c46dd34e.jpg","text":"TemporaryFile(/tmp/multipartBody3896783513697589923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_11_59_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1da610ce8538649d4fd9484965f4974.jpg","text":"TemporaryFile(/tmp/multipartBody3569658831222938681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_11_48_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/903bbc5654e8d0c777868adf4acfd898.jpg","text":"TemporaryFile(/tmp/multipartBody8465569225812483688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446523444,"filename":"image_17082025_03_11_38_9095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377680540","file1":"1377680273","file0":"1377680111","file4":"1377680696","file5":"1377680731","file3":"1377680632"},"map_files_photo_id_array":[{"photo_id":"1377680731","filename":"file5"},{"photo_id":"1377680540","filename":"file2"},{"photo_id":"1377680696","filename":"file4"},{"photo_id":"1377680273","filename":"file1"},{"photo_id":"1377680111","filename":"file0"},{"photo_id":"1377680632","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377680731":["hashtag1","hashtag2"]},{"1377680632":["hashtag1","hashtag2"]},{"1377680696":["hashtag1","hashtag2"]},{"1377680540":["hashtag1","hashtag2"]},{"1377680273":["hashtag1","hashtag2"]},{"1377680111":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377680731, 1377680632, 1377680696, 1377680540, 1377680273, 1377680111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.374502420425415 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:02:02.243573
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/13/image_17082025_03_13_08_10157.jpg', '/media/data/images/17082025/03/13/image_17082025_03_13_19_10328.jpg', '/media/data/images/17082025/03/13/image_17082025_03_13_28_9261.jpg', '/media/data/images/17082025/03/13/image_17082025_03_13_38_10329.jpg', '/media/data/images/17082025/03/13/image_17082025_03_13_49_10437.jpg', '/media/data/images/17082025/03/13/image_17082025_03_13_58_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/13/image_17082025_03_13_08_10157.jpg
/media/data/images/17082025/03/13/image_17082025_03_13_19_10328.jpg
/media/data/images/17082025/03/13/image_17082025_03_13_28_9261.jpg
/media/data/images/17082025/03/13/image_17082025_03_13_38_10329.jpg
/media/data/images/17082025/03/13/image_17082025_03_13_49_10437.jpg
/media/data/images/17082025/03/13/image_17082025_03_13_58_9105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377680743","1377680845","1377680734","1377680808","1377680774","1377680735"],"photo_ids_order":["1377680734","1377680735","1377680743","1377680774","1377680808","1377680845"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/120153afba318edcf6e2492cceb1c27c.jpg","text":"TemporaryFile(/tmp/multipartBody6550429368457671184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_28_9261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ca13d3209dd69ced6581f8dfdbe0b03.jpg","text":"TemporaryFile(/tmp/multipartBody2619058018000130864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09e24d2f3d74c6dafc4db844ee3446c2.jpg","text":"TemporaryFile(/tmp/multipartBody3232432059714339980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_08_10157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4be8541d1b90bfa414c8de67698e7560.jpg","text":"TemporaryFile(/tmp/multipartBody7482330773964215221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_49_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e137c1fe04d2a1952ade84358fdc4f29.jpg","text":"TemporaryFile(/tmp/multipartBody9141870943939348434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b9954502071ee88efad6663c39a26ed.jpg","text":"TemporaryFile(/tmp/multipartBody1269597825104588835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446583241,"filename":"image_17082025_03_13_19_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377680743","file1":"1377680735","file0":"1377680734","file4":"1377680808","file5":"1377680845","file3":"1377680774"},"map_files_photo_id_array":[{"photo_id":"1377680845","filename":"file5"},{"photo_id":"1377680743","filename":"file2"},{"photo_id":"1377680808","filename":"file4"},{"photo_id":"1377680735","filename":"file1"},{"photo_id":"1377680734","filename":"file0"},{"photo_id":"1377680774","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377680743":["hashtag1","hashtag2"]},{"1377680845":["hashtag1","hashtag2"]},{"1377680734":["hashtag1","hashtag2"]},{"1377680808":["hashtag1","hashtag2"]},{"1377680774":["hashtag1","hashtag2"]},{"1377680735":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377680743, 1377680845, 1377680734, 1377680808, 1377680774, 1377680735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89955115318298 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:03:02.646694
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/14/image_17082025_03_14_18_9185.jpg', '/media/data/images/17082025/03/14/image_17082025_03_14_28_10406.jpg', '/media/data/images/17082025/03/14/image_17082025_03_14_39_10471.jpg', '/media/data/images/17082025/03/14/image_17082025_03_14_48_9097.jpg', '/media/data/images/17082025/03/14/image_17082025_03_14_58_10362.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_08_10217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/14/image_17082025_03_14_18_9185.jpg
/media/data/images/17082025/03/14/image_17082025_03_14_28_10406.jpg
/media/data/images/17082025/03/14/image_17082025_03_14_39_10471.jpg
/media/data/images/17082025/03/14/image_17082025_03_14_48_9097.jpg
/media/data/images/17082025/03/14/image_17082025_03_14_58_10362.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_08_10217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681010","1377680983","1377680979","1377681021","1377681015","1377681018"],"photo_ids_order":["1377680979","1377680983","1377681010","1377681015","1377681018","1377681021"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c5c52e0e4cbd25b5b5b0be0752ec97a.jpg","text":"TemporaryFile(/tmp/multipartBody9190835374765387744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_14_39_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0382d2e577289e4b15f3d0f01c1b0090.jpg","text":"TemporaryFile(/tmp/multipartBody2093851196705914744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_14_28_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e27aad8c13db9263ebf9881d9ebe605b.jpg","text":"TemporaryFile(/tmp/multipartBody3984484346802528581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_14_18_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa872d3298ec83f57def13fb6a7870cd.jpg","text":"TemporaryFile(/tmp/multipartBody2468534786544043012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_15_08_10217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df415ad289429811494ddfe13df09379.jpg","text":"TemporaryFile(/tmp/multipartBody4919467839242736125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_14_48_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e744703e32b92a011f478b27d44b3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6536054371647245627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446643636,"filename":"image_17082025_03_14_58_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681010","file1":"1377680983","file0":"1377680979","file4":"1377681018","file5":"1377681021","file3":"1377681015"},"map_files_photo_id_array":[{"photo_id":"1377681021","filename":"file5"},{"photo_id":"1377681010","filename":"file2"},{"photo_id":"1377681018","filename":"file4"},{"photo_id":"1377680983","filename":"file1"},{"photo_id":"1377680979","filename":"file0"},{"photo_id":"1377681015","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681010":["hashtag1","hashtag2"]},{"1377680983":["hashtag1","hashtag2"]},{"1377680979":["hashtag1","hashtag2"]},{"1377681021":["hashtag1","hashtag2"]},{"1377681015":["hashtag1","hashtag2"]},{"1377681018":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681010, 1377680983, 1377680979, 1377681021, 1377681015, 1377681018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26682138442993 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:04:02.599164
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/15/image_17082025_03_15_19_10384.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_38_10375.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_49_10357.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_58_9188.jpg', '/media/data/images/17082025/03/15/image_17082025_03_16_09_10797.jpg', '/media/data/images/17082025/03/16/image_17082025_03_16_28_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/15/image_17082025_03_15_19_10384.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_38_10375.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_49_10357.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_58_9188.jpg
/media/data/images/17082025/03/15/image_17082025_03_16_09_10797.jpg
/media/data/images/17082025/03/16/image_17082025_03_16_28_10437.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5487520694732666 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:04:22.134833
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/15/image_17082025_03_15_19_10384.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_38_10375.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_49_10357.jpg', '/media/data/images/17082025/03/15/image_17082025_03_15_58_9188.jpg', '/media/data/images/17082025/03/15/image_17082025_03_16_09_10797.jpg', '/media/data/images/17082025/03/16/image_17082025_03_16_28_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/15/image_17082025_03_15_19_10384.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_38_10375.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_49_10357.jpg
/media/data/images/17082025/03/15/image_17082025_03_15_58_9188.jpg
/media/data/images/17082025/03/15/image_17082025_03_16_09_10797.jpg
/media/data/images/17082025/03/16/image_17082025_03_16_28_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681051","1377681045","1377681048","1377681053","1377681052","1377681055"],"photo_ids_order":["1377681045","1377681048","1377681051","1377681052","1377681053","1377681055"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11dac12a011a946f5e9ed9f23f6d4c84.jpg","text":"TemporaryFile(/tmp/multipartBody3348934748407764592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_15_49_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5e4a153fcd0aaba53acb1b19beb4e15.jpg","text":"TemporaryFile(/tmp/multipartBody7084597443502533185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_15_19_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8915f758dc6b5b63c3dd658416cfe21.jpg","text":"TemporaryFile(/tmp/multipartBody5761481126185906280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_15_38_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1f9391ae1142db4f221e1913e21a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody6282967576911176277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_16_09_10797.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2ee314c50765087dca7612856b3e3d99.jpg","text":"TemporaryFile(/tmp/multipartBody1775365229833042029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_15_58_9188.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/212f6bdc7de300c21702cd9dc78cdf4b.jpg","text":"TemporaryFile(/tmp/multipartBody3936569086868877716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446723042,"filename":"image_17082025_03_16_28_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681051","file1":"1377681048","file0":"1377681045","file4":"1377681053","file5":"1377681055","file3":"1377681052"},"map_files_photo_id_array":[{"photo_id":"1377681055","filename":"file5"},{"photo_id":"1377681051","filename":"file2"},{"photo_id":"1377681053","filename":"file4"},{"photo_id":"1377681048","filename":"file1"},{"photo_id":"1377681045","filename":"file0"},{"photo_id":"1377681052","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681051":["hashtag1","hashtag2"]},{"1377681045":["hashtag1","hashtag2"]},{"1377681048":["hashtag1","hashtag2"]},{"1377681053":["hashtag1","hashtag2"]},{"1377681052":["hashtag1","hashtag2"]},{"1377681055":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681051, 1377681045, 1377681048, 1377681053, 1377681052, 1377681055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92589974403381 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:05:22.285366
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/16/image_17082025_03_16_38_10330.jpg', '/media/data/images/17082025/03/16/image_17082025_03_16_48_9154.jpg', '/media/data/images/17082025/03/16/image_17082025_03_16_58_10424.jpg', '/media/data/images/17082025/03/17/image_17082025_03_17_08_10213.jpg', '/media/data/images/17082025/03/17/image_17082025_03_17_19_10406.jpg', '/media/data/images/17082025/03/17/image_17082025_03_17_28_9125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/16/image_17082025_03_16_38_10330.jpg
/media/data/images/17082025/03/16/image_17082025_03_16_48_9154.jpg
/media/data/images/17082025/03/16/image_17082025_03_16_58_10424.jpg
/media/data/images/17082025/03/17/image_17082025_03_17_08_10213.jpg
/media/data/images/17082025/03/17/image_17082025_03_17_19_10406.jpg
/media/data/images/17082025/03/17/image_17082025_03_17_28_9125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681109","1377681126","1377681075","1377681135","1377681129","1377681133"],"photo_ids_order":["1377681075","1377681109","1377681126","1377681129","1377681133","1377681135"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8566333969f255d3c95e4d40611fd9ff.jpg","text":"TemporaryFile(/tmp/multipartBody8812440017953681895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_16_48_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd59e7201e4ecad770e2e699a4288b76.jpg","text":"TemporaryFile(/tmp/multipartBody8197519414569538182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_16_58_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8c26d3fe82e9deb08341c6507cfaa4c.jpg","text":"TemporaryFile(/tmp/multipartBody5719862813444299900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_16_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/325d50acf9708347f01da5dbcf6f2e76.jpg","text":"TemporaryFile(/tmp/multipartBody658242032989622566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_17_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7202088117627a555c3dbd8de890438.jpg","text":"TemporaryFile(/tmp/multipartBody3229702185278150400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_17_08_10213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2a6dd5a97b9805e9168676ba3c2bd61.jpg","text":"TemporaryFile(/tmp/multipartBody6466113198806690846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446783263,"filename":"image_17082025_03_17_19_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681126","file1":"1377681109","file0":"1377681075","file4":"1377681133","file5":"1377681135","file3":"1377681129"},"map_files_photo_id_array":[{"photo_id":"1377681135","filename":"file5"},{"photo_id":"1377681126","filename":"file2"},{"photo_id":"1377681133","filename":"file4"},{"photo_id":"1377681109","filename":"file1"},{"photo_id":"1377681075","filename":"file0"},{"photo_id":"1377681129","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681109":["hashtag1","hashtag2"]},{"1377681126":["hashtag1","hashtag2"]},{"1377681075":["hashtag1","hashtag2"]},{"1377681135":["hashtag1","hashtag2"]},{"1377681129":["hashtag1","hashtag2"]},{"1377681133":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681109, 1377681126, 1377681075, 1377681135, 1377681129, 1377681133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.619844913482666 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:06:22.355582
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/17/image_17082025_03_17_38_10479.jpg', '/media/data/images/17082025/03/17/image_17082025_03_17_49_10375.jpg', '/media/data/images/17082025/03/17/image_17082025_03_18_08_10401.jpg', '/media/data/images/17082025/03/18/image_17082025_03_18_19_10443.jpg', '/media/data/images/17082025/03/18/image_17082025_03_18_38_10383.jpg', '/media/data/images/17082025/03/18/image_17082025_03_18_49_10474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/17/image_17082025_03_17_38_10479.jpg
/media/data/images/17082025/03/17/image_17082025_03_17_49_10375.jpg
/media/data/images/17082025/03/17/image_17082025_03_18_08_10401.jpg
/media/data/images/17082025/03/18/image_17082025_03_18_19_10443.jpg
/media/data/images/17082025/03/18/image_17082025_03_18_38_10383.jpg
/media/data/images/17082025/03/18/image_17082025_03_18_49_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681159","1377681153","1377681147","1377681149","1377681151","1377681157"],"photo_ids_order":["1377681147","1377681149","1377681151","1377681153","1377681157","1377681159"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8162573d87b9d68a8d7e79bf3ef47b95.jpg","text":"TemporaryFile(/tmp/multipartBody1487867400125401699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_18_49_10474.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55379c4376ad658a959b16cf98fdada9.jpg","text":"TemporaryFile(/tmp/multipartBody102461623184836916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_18_19_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3630f35686fcd78d02542860c3fdf884.jpg","text":"TemporaryFile(/tmp/multipartBody8868028390061815759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_17_38_10479.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e36879945c5de9e79af06215b5896438.jpg","text":"TemporaryFile(/tmp/multipartBody1982237677751935247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_17_49_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ad362d1de6bf386becc13bb06afd0af.jpg","text":"TemporaryFile(/tmp/multipartBody7735931210761960752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_18_08_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad788d1c7182b037bf1bfcb1b2178983.jpg","text":"TemporaryFile(/tmp/multipartBody4887813703528135561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446843308,"filename":"image_17082025_03_18_38_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681151","file1":"1377681149","file0":"1377681147","file4":"1377681157","file5":"1377681159","file3":"1377681153"},"map_files_photo_id_array":[{"photo_id":"1377681159","filename":"file5"},{"photo_id":"1377681151","filename":"file2"},{"photo_id":"1377681157","filename":"file4"},{"photo_id":"1377681149","filename":"file1"},{"photo_id":"1377681147","filename":"file0"},{"photo_id":"1377681153","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681159":["hashtag1","hashtag2"]},{"1377681153":["hashtag1","hashtag2"]},{"1377681147":["hashtag1","hashtag2"]},{"1377681149":["hashtag1","hashtag2"]},{"1377681151":["hashtag1","hashtag2"]},{"1377681157":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681159, 1377681153, 1377681147, 1377681149, 1377681151, 1377681157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16729259490967 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:07:22.496091
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/18/image_17082025_03_19_08_10486.jpg', '/media/data/images/17082025/03/19/image_17082025_03_19_19_10472.jpg', '/media/data/images/17082025/03/19/image_17082025_03_19_28_9275.jpg', '/media/data/images/17082025/03/19/image_17082025_03_19_49_10334.jpg', '/media/data/images/17082025/03/19/image_17082025_03_19_58_9225.jpg', '/media/data/images/17082025/03/19/image_17082025_03_20_08_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/18/image_17082025_03_19_08_10486.jpg
/media/data/images/17082025/03/19/image_17082025_03_19_19_10472.jpg
/media/data/images/17082025/03/19/image_17082025_03_19_28_9275.jpg
/media/data/images/17082025/03/19/image_17082025_03_19_49_10334.jpg
/media/data/images/17082025/03/19/image_17082025_03_19_58_9225.jpg
/media/data/images/17082025/03/19/image_17082025_03_20_08_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681180","1377681183","1377681177","1377681179","1377681181","1377681175"],"photo_ids_order":["1377681175","1377681177","1377681179","1377681180","1377681181","1377681183"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fec4b65008875dd409cdc0d6f42f911.jpg","text":"TemporaryFile(/tmp/multipartBody8258007179946696168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_19_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe109c0df7605479aff8675ebe184d46.jpg","text":"TemporaryFile(/tmp/multipartBody230885422774282957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_20_08_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8126e859aabf229e57af6c2efd2a7738.jpg","text":"TemporaryFile(/tmp/multipartBody8263667326315387917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_19_19_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8328205fe152c55c954f8f59e38473a2.jpg","text":"TemporaryFile(/tmp/multipartBody8050193647068879759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_19_28_9275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56e9c3b863a9580fa99a4ffbf98bc5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7983356849793869391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_19_58_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45050e88fc7e29ebbadcd3347011e259.jpg","text":"TemporaryFile(/tmp/multipartBody3012805591409058294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446903464,"filename":"image_17082025_03_19_08_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681179","file1":"1377681177","file0":"1377681175","file4":"1377681181","file5":"1377681183","file3":"1377681180"},"map_files_photo_id_array":[{"photo_id":"1377681183","filename":"file5"},{"photo_id":"1377681179","filename":"file2"},{"photo_id":"1377681181","filename":"file4"},{"photo_id":"1377681177","filename":"file1"},{"photo_id":"1377681175","filename":"file0"},{"photo_id":"1377681180","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681180":["hashtag1","hashtag2"]},{"1377681183":["hashtag1","hashtag2"]},{"1377681177":["hashtag1","hashtag2"]},{"1377681179":["hashtag1","hashtag2"]},{"1377681181":["hashtag1","hashtag2"]},{"1377681175":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681180, 1377681183, 1377681177, 1377681179, 1377681181, 1377681175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05308389663696 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:08:22.599347
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/20/image_17082025_03_20_28_9266.jpg', '/media/data/images/17082025/03/20/image_17082025_03_20_49_10336.jpg', '/media/data/images/17082025/03/20/image_17082025_03_20_58_9126.jpg', '/media/data/images/17082025/03/20/image_17082025_03_21_08_10446.jpg', '/media/data/images/17082025/03/21/image_17082025_03_21_19_10463.jpg', '/media/data/images/17082025/03/21/image_17082025_03_21_28_9250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/20/image_17082025_03_20_28_9266.jpg
/media/data/images/17082025/03/20/image_17082025_03_20_49_10336.jpg
/media/data/images/17082025/03/20/image_17082025_03_20_58_9126.jpg
/media/data/images/17082025/03/20/image_17082025_03_21_08_10446.jpg
/media/data/images/17082025/03/21/image_17082025_03_21_19_10463.jpg
/media/data/images/17082025/03/21/image_17082025_03_21_28_9250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681202","1377681208","1377681201","1377681210","1377681204","1377681206"],"photo_ids_order":["1377681201","1377681202","1377681204","1377681206","1377681208","1377681210"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18e898529f65488b6d870a2ffda8d3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6154883413311359459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_20_49_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecffff846155ef8372fd0354129cac22.jpg","text":"TemporaryFile(/tmp/multipartBody2835669414465370834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_21_19_10463.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b97b6c6fd6c06e6c59a86930e967e99.jpg","text":"TemporaryFile(/tmp/multipartBody3877029251100626404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_20_28_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc114c019ffe99cb70f99db897a09200.jpg","text":"TemporaryFile(/tmp/multipartBody4939278584263211206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_21_28_9250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25005248ad9d6150e372ed0fcdb0cb09.jpg","text":"TemporaryFile(/tmp/multipartBody2308863671676718164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_20_58_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9abed0419a5de701bbba284f87e819eb.jpg","text":"TemporaryFile(/tmp/multipartBody2215233863642811133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446963592,"filename":"image_17082025_03_21_08_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681204","file1":"1377681202","file0":"1377681201","file4":"1377681208","file5":"1377681210","file3":"1377681206"},"map_files_photo_id_array":[{"photo_id":"1377681210","filename":"file5"},{"photo_id":"1377681204","filename":"file2"},{"photo_id":"1377681208","filename":"file4"},{"photo_id":"1377681202","filename":"file1"},{"photo_id":"1377681201","filename":"file0"},{"photo_id":"1377681206","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681202":["hashtag1","hashtag2"]},{"1377681208":["hashtag1","hashtag2"]},{"1377681201":["hashtag1","hashtag2"]},{"1377681210":["hashtag1","hashtag2"]},{"1377681204":["hashtag1","hashtag2"]},{"1377681206":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681202, 1377681208, 1377681201, 1377681210, 1377681204, 1377681206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.210102796554565 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:09:22.715547
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/21/image_17082025_03_21_38_10394.jpg', '/media/data/images/17082025/03/21/image_17082025_03_21_49_10341.jpg', '/media/data/images/17082025/03/21/image_17082025_03_21_58_9096.jpg', '/media/data/images/17082025/03/21/image_17082025_03_22_08_10493.jpg', '/media/data/images/17082025/03/22/image_17082025_03_22_19_10382.jpg', '/media/data/images/17082025/03/22/image_17082025_03_22_28_9091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/21/image_17082025_03_21_38_10394.jpg
/media/data/images/17082025/03/21/image_17082025_03_21_49_10341.jpg
/media/data/images/17082025/03/21/image_17082025_03_21_58_9096.jpg
/media/data/images/17082025/03/21/image_17082025_03_22_08_10493.jpg
/media/data/images/17082025/03/22/image_17082025_03_22_19_10382.jpg
/media/data/images/17082025/03/22/image_17082025_03_22_28_9091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681226","1377681234","1377681228","1377681230","1377681224","1377681232"],"photo_ids_order":["1377681224","1377681226","1377681228","1377681230","1377681232","1377681234"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cacc8d61496e4ff9fa115456efdc6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4617962374627087641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_21_49_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38dfc1035d18ccfed7140dd91462aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody4643515193477088996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_22_28_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3bb6a3412d470e198126ab3f1d23fb52.jpg","text":"TemporaryFile(/tmp/multipartBody2462914065751122667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_21_58_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e495e5b61698e3b0af9b5c95d7159419.jpg","text":"TemporaryFile(/tmp/multipartBody6746461790675494419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_22_08_10493.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2389cfd110227cb4f197497b434fbe39.jpg","text":"TemporaryFile(/tmp/multipartBody2389746093885149904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_21_38_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c83aa48ef6289262cce74535ee9e3534.jpg","text":"TemporaryFile(/tmp/multipartBody8454155320250987867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447023686,"filename":"image_17082025_03_22_19_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681228","file1":"1377681226","file0":"1377681224","file4":"1377681232","file5":"1377681234","file3":"1377681230"},"map_files_photo_id_array":[{"photo_id":"1377681234","filename":"file5"},{"photo_id":"1377681228","filename":"file2"},{"photo_id":"1377681232","filename":"file4"},{"photo_id":"1377681226","filename":"file1"},{"photo_id":"1377681224","filename":"file0"},{"photo_id":"1377681230","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681226":["hashtag1","hashtag2"]},{"1377681234":["hashtag1","hashtag2"]},{"1377681228":["hashtag1","hashtag2"]},{"1377681230":["hashtag1","hashtag2"]},{"1377681224":["hashtag1","hashtag2"]},{"1377681232":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681226, 1377681234, 1377681228, 1377681230, 1377681224, 1377681232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73849630355835 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:10:21.820696
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/22/image_17082025_03_22_38_10363.jpg', '/media/data/images/17082025/03/22/image_17082025_03_22_49_10377.jpg', '/media/data/images/17082025/03/22/image_17082025_03_23_08_10544.jpg', '/media/data/images/17082025/03/23/image_17082025_03_23_19_10445.jpg', '/media/data/images/17082025/03/23/image_17082025_03_23_28_9094.jpg', '/media/data/images/17082025/03/23/image_17082025_03_23_38_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/22/image_17082025_03_22_38_10363.jpg
/media/data/images/17082025/03/22/image_17082025_03_22_49_10377.jpg
/media/data/images/17082025/03/22/image_17082025_03_23_08_10544.jpg
/media/data/images/17082025/03/23/image_17082025_03_23_19_10445.jpg
/media/data/images/17082025/03/23/image_17082025_03_23_28_9094.jpg
/media/data/images/17082025/03/23/image_17082025_03_23_38_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681261","1377681249","1377681257","1377681259","1377681253","1377681262"],"photo_ids_order":["1377681249","1377681253","1377681257","1377681259","1377681261","1377681262"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65e444fc93fd4e1b386f0549f0f170a2.jpg","text":"TemporaryFile(/tmp/multipartBody2002802769805318330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_23_28_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/efc6d63dda0e49177e51d45b61bc467e.jpg","text":"TemporaryFile(/tmp/multipartBody4621461456905224964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_22_38_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a678093a87f5d345824a275258b8ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2243406601915395654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_23_08_10544.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9acd367f9133c181e57b0e60d6b7fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3684561447970728071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_23_19_10445.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c2f8da5fd0f17bf2869bace63dfe854.jpg","text":"TemporaryFile(/tmp/multipartBody3108846162592818174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_22_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ae4115793a9c950ced091d124d7d69a.jpg","text":"TemporaryFile(/tmp/multipartBody5255719829074649919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447082781,"filename":"image_17082025_03_23_38_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681257","file1":"1377681253","file0":"1377681249","file4":"1377681261","file5":"1377681262","file3":"1377681259"},"map_files_photo_id_array":[{"photo_id":"1377681262","filename":"file5"},{"photo_id":"1377681257","filename":"file2"},{"photo_id":"1377681261","filename":"file4"},{"photo_id":"1377681253","filename":"file1"},{"photo_id":"1377681249","filename":"file0"},{"photo_id":"1377681259","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681261":["hashtag1","hashtag2"]},{"1377681249":["hashtag1","hashtag2"]},{"1377681257":["hashtag1","hashtag2"]},{"1377681259":["hashtag1","hashtag2"]},{"1377681253":["hashtag1","hashtag2"]},{"1377681262":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681261, 1377681249, 1377681257, 1377681259, 1377681253, 1377681262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11864376068115 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:11:21.918207
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/23/image_17082025_03_23_48_10347.jpg', '/media/data/images/17082025/03/23/image_17082025_03_23_59_10330.jpg', '/media/data/images/17082025/03/24/image_17082025_03_24_18_10393.jpg', '/media/data/images/17082025/03/24/image_17082025_03_24_28_10331.jpg', '/media/data/images/17082025/03/25/image_17082025_03_25_28_10413.jpg', '/media/data/images/17082025/03/25/image_17082025_03_25_48_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/23/image_17082025_03_23_48_10347.jpg
/media/data/images/17082025/03/23/image_17082025_03_23_59_10330.jpg
/media/data/images/17082025/03/24/image_17082025_03_24_18_10393.jpg
/media/data/images/17082025/03/24/image_17082025_03_24_28_10331.jpg
/media/data/images/17082025/03/25/image_17082025_03_25_28_10413.jpg
/media/data/images/17082025/03/25/image_17082025_03_25_48_9105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681273","1377681279","1377681281","1377681275","1377681283","1377681277"],"photo_ids_order":["1377681273","1377681275","1377681277","1377681279","1377681281","1377681283"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90ddbb21ea376413125526b6ff796afb.jpg","text":"TemporaryFile(/tmp/multipartBody2447317967752826871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_23_48_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6a0938e14416c118c462e097096fa39.jpg","text":"TemporaryFile(/tmp/multipartBody9045133863317590179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_24_28_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93640c6ee9ad2fdf48adcb7266f98c61.jpg","text":"TemporaryFile(/tmp/multipartBody1729738002372199838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_25_28_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/918c8287b944cf2572fd77fc057f968f.jpg","text":"TemporaryFile(/tmp/multipartBody6016707853893081322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_23_59_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/172bc2b933f051322ff862acc2493c28.jpg","text":"TemporaryFile(/tmp/multipartBody4039417349103309354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_25_48_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a31eebea76018c578d8da28834bd0a97.jpg","text":"TemporaryFile(/tmp/multipartBody413485626565489951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447142862,"filename":"image_17082025_03_24_18_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681277","file1":"1377681275","file0":"1377681273","file4":"1377681281","file5":"1377681283","file3":"1377681279"},"map_files_photo_id_array":[{"photo_id":"1377681283","filename":"file5"},{"photo_id":"1377681277","filename":"file2"},{"photo_id":"1377681281","filename":"file4"},{"photo_id":"1377681275","filename":"file1"},{"photo_id":"1377681273","filename":"file0"},{"photo_id":"1377681279","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681273":["hashtag1","hashtag2"]},{"1377681279":["hashtag1","hashtag2"]},{"1377681281":["hashtag1","hashtag2"]},{"1377681275":["hashtag1","hashtag2"]},{"1377681283":["hashtag1","hashtag2"]},{"1377681277":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681273, 1377681279, 1377681281, 1377681275, 1377681283, 1377681277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29768133163452 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:12:22.036769
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/25/image_17082025_03_25_58_10382.jpg', '/media/data/images/17082025/03/26/image_17082025_03_26_08_10331.jpg', '/media/data/images/17082025/03/26/image_17082025_03_26_18_9179.jpg', '/media/data/images/17082025/03/26/image_17082025_03_26_28_10335.jpg', '/media/data/images/17082025/03/26/image_17082025_03_26_49_10416.jpg', '/media/data/images/17082025/03/26/image_17082025_03_26_58_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/25/image_17082025_03_25_58_10382.jpg
/media/data/images/17082025/03/26/image_17082025_03_26_08_10331.jpg
/media/data/images/17082025/03/26/image_17082025_03_26_18_9179.jpg
/media/data/images/17082025/03/26/image_17082025_03_26_28_10335.jpg
/media/data/images/17082025/03/26/image_17082025_03_26_49_10416.jpg
/media/data/images/17082025/03/26/image_17082025_03_26_58_9102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681301","1377681297","1377681299","1377681303","1377681305","1377681298"],"photo_ids_order":["1377681297","1377681298","1377681299","1377681301","1377681303","1377681305"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a97fb5fa196a8feb2f7d6c1511bac95.jpg","text":"TemporaryFile(/tmp/multipartBody4160529527967080401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_26_28_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4bf7b7003ac6ace9e54a6477ab35122.jpg","text":"TemporaryFile(/tmp/multipartBody7011713158716782087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_25_58_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2f0b065286096a9806b28a00e949a82.jpg","text":"TemporaryFile(/tmp/multipartBody5236988145853066576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_26_18_9179.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/074fc76556081c5b78cf2ca37758d49b.jpg","text":"TemporaryFile(/tmp/multipartBody2870595017126450001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_26_49_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/791c53b333f113b5093229469acdeb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7845760581301580875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_26_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25ca0d6f9c0ba0fffde261a2c1d136c7.jpg","text":"TemporaryFile(/tmp/multipartBody7237606603657348584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447202998,"filename":"image_17082025_03_26_08_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681299","file1":"1377681298","file0":"1377681297","file4":"1377681303","file5":"1377681305","file3":"1377681301"},"map_files_photo_id_array":[{"photo_id":"1377681305","filename":"file5"},{"photo_id":"1377681299","filename":"file2"},{"photo_id":"1377681303","filename":"file4"},{"photo_id":"1377681298","filename":"file1"},{"photo_id":"1377681297","filename":"file0"},{"photo_id":"1377681301","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681301":["hashtag1","hashtag2"]},{"1377681297":["hashtag1","hashtag2"]},{"1377681299":["hashtag1","hashtag2"]},{"1377681303":["hashtag1","hashtag2"]},{"1377681305":["hashtag1","hashtag2"]},{"1377681298":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681301, 1377681297, 1377681299, 1377681303, 1377681305, 1377681298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72491192817688 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:13:22.105927
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/26/image_17082025_03_27_08_10341.jpg', '/media/data/images/17082025/03/27/image_17082025_03_27_19_10410.jpg', '/media/data/images/17082025/03/27/image_17082025_03_27_28_9204.jpg', '/media/data/images/17082025/03/27/image_17082025_03_27_38_10370.jpg', '/media/data/images/17082025/03/27/image_17082025_03_27_49_10441.jpg', '/media/data/images/17082025/03/27/image_17082025_03_27_58_9204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/26/image_17082025_03_27_08_10341.jpg
/media/data/images/17082025/03/27/image_17082025_03_27_19_10410.jpg
/media/data/images/17082025/03/27/image_17082025_03_27_28_9204.jpg
/media/data/images/17082025/03/27/image_17082025_03_27_38_10370.jpg
/media/data/images/17082025/03/27/image_17082025_03_27_49_10441.jpg
/media/data/images/17082025/03/27/image_17082025_03_27_58_9204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681322","1377681325","1377681318","1377681327","1377681329","1377681320"],"photo_ids_order":["1377681318","1377681320","1377681322","1377681325","1377681327","1377681329"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46b2f79a9d1277ac23fee35eee1c76c5.jpg","text":"TemporaryFile(/tmp/multipartBody6802693832260501156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a58a8b22e902d81f6b4e1752b02281b.jpg","text":"TemporaryFile(/tmp/multipartBody1143440591191451875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_38_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab3deb0ea41c75a2570584ee2ed56c3d.jpg","text":"TemporaryFile(/tmp/multipartBody7089159548592301632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_08_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b6055bd754473895b2cf978e1430101.jpg","text":"TemporaryFile(/tmp/multipartBody6067379504208217157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_49_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28f6c40e350c08c165768ce8e64ee6ad.jpg","text":"TemporaryFile(/tmp/multipartBody7721564845868276383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_58_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bbc3582a710ed45d9a300b0878112d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1835762936720764005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447263076,"filename":"image_17082025_03_27_19_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681322","file1":"1377681320","file0":"1377681318","file4":"1377681327","file5":"1377681329","file3":"1377681325"},"map_files_photo_id_array":[{"photo_id":"1377681329","filename":"file5"},{"photo_id":"1377681322","filename":"file2"},{"photo_id":"1377681327","filename":"file4"},{"photo_id":"1377681320","filename":"file1"},{"photo_id":"1377681318","filename":"file0"},{"photo_id":"1377681325","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681322":["hashtag1","hashtag2"]},{"1377681325":["hashtag1","hashtag2"]},{"1377681318":["hashtag1","hashtag2"]},{"1377681327":["hashtag1","hashtag2"]},{"1377681329":["hashtag1","hashtag2"]},{"1377681320":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681322, 1377681325, 1377681318, 1377681327, 1377681329, 1377681320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90788006782532 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:14:22.221968
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/28/image_17082025_03_28_19_10431.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_28_9400.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_38_10400.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_49_10364.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_58_9106.jpg', '/media/data/images/17082025/03/28/image_17082025_03_29_08_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/28/image_17082025_03_28_19_10431.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_28_9400.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_38_10400.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_49_10364.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_58_9106.jpg
/media/data/images/17082025/03/28/image_17082025_03_29_08_10346.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5383360385894775 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:14:42.187823
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/28/image_17082025_03_28_19_10431.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_28_9400.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_38_10400.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_49_10364.jpg', '/media/data/images/17082025/03/28/image_17082025_03_28_58_9106.jpg', '/media/data/images/17082025/03/28/image_17082025_03_29_08_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/28/image_17082025_03_28_19_10431.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_28_9400.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_38_10400.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_49_10364.jpg
/media/data/images/17082025/03/28/image_17082025_03_28_58_9106.jpg
/media/data/images/17082025/03/28/image_17082025_03_29_08_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681351","1377681353","1377681362","1377681356","1377681359","1377681364"],"photo_ids_order":["1377681351","1377681353","1377681356","1377681359","1377681362","1377681364"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8cd1857b0305022756ce0663f241bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody2458364676036141666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_28_19_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/511b1c8aa64af8b0dbd293b18f7b271e.jpg","text":"TemporaryFile(/tmp/multipartBody5773746739545346201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_28_28_9400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e2a7ee8e3b5b80d91a580c7557ef1da.jpg","text":"TemporaryFile(/tmp/multipartBody1962997764049820673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_28_58_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b11ba9cae098ec930f43109c93320fe.jpg","text":"TemporaryFile(/tmp/multipartBody1387437249380180755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_28_38_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fcaec027201ce5dc46e792a5cdeecc5.jpg","text":"TemporaryFile(/tmp/multipartBody3810746387235237731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_28_49_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/128c721be37735509079e3e0870e9e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1525642366689451451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447343095,"filename":"image_17082025_03_29_08_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681356","file1":"1377681353","file0":"1377681351","file4":"1377681362","file5":"1377681364","file3":"1377681359"},"map_files_photo_id_array":[{"photo_id":"1377681364","filename":"file5"},{"photo_id":"1377681356","filename":"file2"},{"photo_id":"1377681362","filename":"file4"},{"photo_id":"1377681353","filename":"file1"},{"photo_id":"1377681351","filename":"file0"},{"photo_id":"1377681359","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681351":["hashtag1","hashtag2"]},{"1377681353":["hashtag1","hashtag2"]},{"1377681362":["hashtag1","hashtag2"]},{"1377681356":["hashtag1","hashtag2"]},{"1377681359":["hashtag1","hashtag2"]},{"1377681364":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681351, 1377681353, 1377681362, 1377681356, 1377681359, 1377681364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62952136993408 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:15:42.309215
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/29/image_17082025_03_29_19_10587.jpg', '/media/data/images/17082025/03/29/image_17082025_03_29_28_9103.jpg', '/media/data/images/17082025/03/29/image_17082025_03_29_38_10336.jpg', '/media/data/images/17082025/03/29/image_17082025_03_29_49_10409.jpg', '/media/data/images/17082025/03/29/image_17082025_03_29_58_9186.jpg', '/media/data/images/17082025/03/29/image_17082025_03_30_08_10609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/29/image_17082025_03_29_19_10587.jpg
/media/data/images/17082025/03/29/image_17082025_03_29_28_9103.jpg
/media/data/images/17082025/03/29/image_17082025_03_29_38_10336.jpg
/media/data/images/17082025/03/29/image_17082025_03_29_49_10409.jpg
/media/data/images/17082025/03/29/image_17082025_03_29_58_9186.jpg
/media/data/images/17082025/03/29/image_17082025_03_30_08_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681384","1377681392","1377681380","1377681377","1377681382","1377681385"],"photo_ids_order":["1377681377","1377681380","1377681382","1377681384","1377681385","1377681392"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34103c84d6a58a46a6c58fc13b96a179.jpg","text":"TemporaryFile(/tmp/multipartBody5375334139131564245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_29_49_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a2cf5fe8e0e6373d4e5dc854b0aef87.jpg","text":"TemporaryFile(/tmp/multipartBody8106452227972566226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_30_08_10609.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ffc8436d234143f908273d29e2341b8.jpg","text":"TemporaryFile(/tmp/multipartBody1658260205953562598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_29_28_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06289ec40ed0b826e22a4a35aa61dd1b.jpg","text":"TemporaryFile(/tmp/multipartBody2189334685477791303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_29_19_10587.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29397db8234825b2e052ad1512aabecc.jpg","text":"TemporaryFile(/tmp/multipartBody6182587474655642198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_29_38_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1fe8d34abfa25d55f325d774440abc6.jpg","text":"TemporaryFile(/tmp/multipartBody8706872535898922356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447403295,"filename":"image_17082025_03_29_58_9186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681382","file1":"1377681380","file0":"1377681377","file4":"1377681385","file5":"1377681392","file3":"1377681384"},"map_files_photo_id_array":[{"photo_id":"1377681392","filename":"file5"},{"photo_id":"1377681382","filename":"file2"},{"photo_id":"1377681385","filename":"file4"},{"photo_id":"1377681380","filename":"file1"},{"photo_id":"1377681377","filename":"file0"},{"photo_id":"1377681384","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681384":["hashtag1","hashtag2"]},{"1377681392":["hashtag1","hashtag2"]},{"1377681380":["hashtag1","hashtag2"]},{"1377681377":["hashtag1","hashtag2"]},{"1377681382":["hashtag1","hashtag2"]},{"1377681385":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681384, 1377681392, 1377681380, 1377681377, 1377681382, 1377681385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23260760307312 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:16:42.406065
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/30/image_17082025_03_30_28_10353.jpg', '/media/data/images/17082025/03/30/image_17082025_03_30_39_10692.jpg', '/media/data/images/17082025/03/30/image_17082025_03_30_58_10346.jpg', '/media/data/images/17082025/03/31/image_17082025_03_31_09_10237.jpg', '/media/data/images/17082025/03/31/image_17082025_03_31_28_10327.jpg', '/media/data/images/17082025/03/31/image_17082025_03_31_38_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/30/image_17082025_03_30_28_10353.jpg
/media/data/images/17082025/03/30/image_17082025_03_30_39_10692.jpg
/media/data/images/17082025/03/30/image_17082025_03_30_58_10346.jpg
/media/data/images/17082025/03/31/image_17082025_03_31_09_10237.jpg
/media/data/images/17082025/03/31/image_17082025_03_31_28_10327.jpg
/media/data/images/17082025/03/31/image_17082025_03_31_38_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681403","1377681406","1377681408","1377681402","1377681401","1377681404"],"photo_ids_order":["1377681401","1377681402","1377681403","1377681404","1377681406","1377681408"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f6dea1cfe4aa87bb18c0c629ac8fc5a.jpg","text":"TemporaryFile(/tmp/multipartBody3051638793221462322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_30_58_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4a6536f18837ee091dac1011c8575bd.jpg","text":"TemporaryFile(/tmp/multipartBody188924070541307471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_31_28_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f563b9b87e8a08b5e21fe640a245f66.jpg","text":"TemporaryFile(/tmp/multipartBody1065095800960084726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_31_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/289ddd3e90a9b4071220c94cfa4b84a8.jpg","text":"TemporaryFile(/tmp/multipartBody1235483934226329838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_30_39_10692.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db954712e1beb3c4ba40f66e05789464.jpg","text":"TemporaryFile(/tmp/multipartBody3911426721077029625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_30_28_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a368772b3f36798076f41a5473584a51.jpg","text":"TemporaryFile(/tmp/multipartBody8102325198967114706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447463389,"filename":"image_17082025_03_31_09_10237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681403","file1":"1377681402","file0":"1377681401","file4":"1377681406","file5":"1377681408","file3":"1377681404"},"map_files_photo_id_array":[{"photo_id":"1377681408","filename":"file5"},{"photo_id":"1377681403","filename":"file2"},{"photo_id":"1377681406","filename":"file4"},{"photo_id":"1377681402","filename":"file1"},{"photo_id":"1377681401","filename":"file0"},{"photo_id":"1377681404","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681403":["hashtag1","hashtag2"]},{"1377681406":["hashtag1","hashtag2"]},{"1377681408":["hashtag1","hashtag2"]},{"1377681402":["hashtag1","hashtag2"]},{"1377681401":["hashtag1","hashtag2"]},{"1377681404":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681403, 1377681406, 1377681408, 1377681402, 1377681401, 1377681404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98316764831543 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:17:42.500588
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/31/image_17082025_03_31_49_10328.jpg', '/media/data/images/17082025/03/31/image_17082025_03_31_58_9110.jpg', '/media/data/images/17082025/03/31/image_17082025_03_32_08_10626.jpg', '/media/data/images/17082025/03/32/image_17082025_03_32_19_10334.jpg', '/media/data/images/17082025/03/32/image_17082025_03_32_28_9192.jpg', '/media/data/images/17082025/03/32/image_17082025_03_32_38_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/31/image_17082025_03_31_49_10328.jpg
/media/data/images/17082025/03/31/image_17082025_03_31_58_9110.jpg
/media/data/images/17082025/03/31/image_17082025_03_32_08_10626.jpg
/media/data/images/17082025/03/32/image_17082025_03_32_19_10334.jpg
/media/data/images/17082025/03/32/image_17082025_03_32_28_9192.jpg
/media/data/images/17082025/03/32/image_17082025_03_32_38_10332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681441","1377681432","1377681426","1377681429","1377681422","1377681424"],"photo_ids_order":["1377681422","1377681424","1377681426","1377681429","1377681432","1377681441"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dd4b8252e0cc89029f25854b76c5896.jpg","text":"TemporaryFile(/tmp/multipartBody2961635789772158367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_32_38_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ce6cd2dd614918f67921763df5c39176.jpg","text":"TemporaryFile(/tmp/multipartBody8055217091664297569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_32_28_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2c5693b2ffdba8ea13010dd3df9df4b.jpg","text":"TemporaryFile(/tmp/multipartBody3724823308755628816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_32_08_10626.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/285c7091500e96e8c22f8cf1a369446e.jpg","text":"TemporaryFile(/tmp/multipartBody8132723722459526743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_32_19_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c96f704d01a038cba363e8ce9cde3ab.jpg","text":"TemporaryFile(/tmp/multipartBody8481424694000685253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_31_49_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c23ebeef38bf053e062e3eff7bbc7e24.jpg","text":"TemporaryFile(/tmp/multipartBody2997274555748677137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447523485,"filename":"image_17082025_03_31_58_9110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681426","file1":"1377681424","file0":"1377681422","file4":"1377681432","file5":"1377681441","file3":"1377681429"},"map_files_photo_id_array":[{"photo_id":"1377681441","filename":"file5"},{"photo_id":"1377681426","filename":"file2"},{"photo_id":"1377681432","filename":"file4"},{"photo_id":"1377681424","filename":"file1"},{"photo_id":"1377681422","filename":"file0"},{"photo_id":"1377681429","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681441":["hashtag1","hashtag2"]},{"1377681432":["hashtag1","hashtag2"]},{"1377681426":["hashtag1","hashtag2"]},{"1377681429":["hashtag1","hashtag2"]},{"1377681422":["hashtag1","hashtag2"]},{"1377681424":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681441, 1377681432, 1377681426, 1377681429, 1377681422, 1377681424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26477408409119 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:18:22.599331
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/32/image_17082025_03_32_49_10329.jpg', '/media/data/images/17082025/03/32/image_17082025_03_32_58_9153.jpg', '/media/data/images/17082025/03/33/image_17082025_03_33_38_10325.jpg', '/media/data/images/17082025/03/33/image_17082025_03_33_49_10338.jpg', '/media/data/images/17082025/03/33/image_17082025_03_34_08_10541.jpg', '/media/data/images/17082025/03/34/image_17082025_03_34_28_9103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/32/image_17082025_03_32_49_10329.jpg
/media/data/images/17082025/03/32/image_17082025_03_32_58_9153.jpg
/media/data/images/17082025/03/33/image_17082025_03_33_38_10325.jpg
/media/data/images/17082025/03/33/image_17082025_03_33_49_10338.jpg
/media/data/images/17082025/03/33/image_17082025_03_34_08_10541.jpg
/media/data/images/17082025/03/34/image_17082025_03_34_28_9103.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681444","1377681457","1377681451","1377681445","1377681454","1377681448"],"photo_ids_order":["1377681444","1377681445","1377681448","1377681451","1377681454","1377681457"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4077228c909294f4f00eb2d16fa89e2.jpg","text":"TemporaryFile(/tmp/multipartBody4276661865244706903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_32_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf84e90b183cd579e3862b4f312ed678.jpg","text":"TemporaryFile(/tmp/multipartBody5964827283609381361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_34_28_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed51d619d4b3d2a860ef39802bbc5bae.jpg","text":"TemporaryFile(/tmp/multipartBody257342732625611422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_33_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d20d23d582441dfbc1869d0a8e2fac32.jpg","text":"TemporaryFile(/tmp/multipartBody3697197773646284266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_32_58_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa94959f95dc1ca12545f85fc015dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody6773837487389882671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_34_08_10541.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/631bd815c5d94ac0f273bc81cc0ac639.jpg","text":"TemporaryFile(/tmp/multipartBody8633005629399087713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447563559,"filename":"image_17082025_03_33_38_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681448","file1":"1377681445","file0":"1377681444","file4":"1377681454","file5":"1377681457","file3":"1377681451"},"map_files_photo_id_array":[{"photo_id":"1377681457","filename":"file5"},{"photo_id":"1377681448","filename":"file2"},{"photo_id":"1377681454","filename":"file4"},{"photo_id":"1377681445","filename":"file1"},{"photo_id":"1377681444","filename":"file0"},{"photo_id":"1377681451","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681444":["hashtag1","hashtag2"]},{"1377681457":["hashtag1","hashtag2"]},{"1377681451":["hashtag1","hashtag2"]},{"1377681445":["hashtag1","hashtag2"]},{"1377681454":["hashtag1","hashtag2"]},{"1377681448":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681444, 1377681457, 1377681451, 1377681445, 1377681454, 1377681448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.575275182724 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:19:22.796627
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/34/image_17082025_03_34_38_10337.jpg', '/media/data/images/17082025/03/34/image_17082025_03_34_48_10339.jpg', '/media/data/images/17082025/03/34/image_17082025_03_34_59_10403.jpg', '/media/data/images/17082025/03/35/image_17082025_03_35_08_9080.jpg', '/media/data/images/17082025/03/35/image_17082025_03_35_18_10339.jpg', '/media/data/images/17082025/03/35/image_17082025_03_35_29_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/34/image_17082025_03_34_38_10337.jpg
/media/data/images/17082025/03/34/image_17082025_03_34_48_10339.jpg
/media/data/images/17082025/03/34/image_17082025_03_34_59_10403.jpg
/media/data/images/17082025/03/35/image_17082025_03_35_08_9080.jpg
/media/data/images/17082025/03/35/image_17082025_03_35_18_10339.jpg
/media/data/images/17082025/03/35/image_17082025_03_35_29_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681480","1377681474","1377681470","1377681476","1377681478","1377681472"],"photo_ids_order":["1377681470","1377681472","1377681474","1377681476","1377681478","1377681480"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1eab9edcbe3130d13dcc928a2e047570.jpg","text":"TemporaryFile(/tmp/multipartBody439403671495600349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_35_29_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a9f93dc1116c6b9665c69c5f1ee2542.jpg","text":"TemporaryFile(/tmp/multipartBody8710104514988575380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_34_59_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bddae8413aed659d607c952821e07334.jpg","text":"TemporaryFile(/tmp/multipartBody4628722204408129143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_34_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f35b54a695037345fc92b19f6f1d99a9.jpg","text":"TemporaryFile(/tmp/multipartBody9189449062151854731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_35_08_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c94bb96e80776c664e46da9bfd731094.jpg","text":"TemporaryFile(/tmp/multipartBody3193232278120000136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_35_18_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8351abc485d3dccf80cafbf069973a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2219462722993110608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447623782,"filename":"image_17082025_03_34_48_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681474","file1":"1377681472","file0":"1377681470","file4":"1377681478","file5":"1377681480","file3":"1377681476"},"map_files_photo_id_array":[{"photo_id":"1377681480","filename":"file5"},{"photo_id":"1377681474","filename":"file2"},{"photo_id":"1377681478","filename":"file4"},{"photo_id":"1377681472","filename":"file1"},{"photo_id":"1377681470","filename":"file0"},{"photo_id":"1377681476","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681480":["hashtag1","hashtag2"]},{"1377681474":["hashtag1","hashtag2"]},{"1377681470":["hashtag1","hashtag2"]},{"1377681476":["hashtag1","hashtag2"]},{"1377681478":["hashtag1","hashtag2"]},{"1377681472":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681480, 1377681474, 1377681470, 1377681476, 1377681478, 1377681472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46958518028259 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:20:21.895205
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/35/image_17082025_03_35_48_10343.jpg', '/media/data/images/17082025/03/35/image_17082025_03_35_58_10446.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_08_9263.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_18_10401.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_28_10347.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_39_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/35/image_17082025_03_35_48_10343.jpg
/media/data/images/17082025/03/35/image_17082025_03_35_58_10446.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_08_9263.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_18_10401.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_28_10347.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_39_10346.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5355844497680664 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:20:41.903579
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/35/image_17082025_03_35_48_10343.jpg', '/media/data/images/17082025/03/35/image_17082025_03_35_58_10446.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_08_9263.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_18_10401.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_28_10347.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_39_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/35/image_17082025_03_35_48_10343.jpg
/media/data/images/17082025/03/35/image_17082025_03_35_58_10446.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_08_9263.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_18_10401.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_28_10347.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_39_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681510","1377681513","1377681501","1377681503","1377681506","1377681499"],"photo_ids_order":["1377681499","1377681501","1377681503","1377681506","1377681510","1377681513"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bcdd3a034fa6b43f30abe512856c8cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7322640586004932728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_36_28_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad50459c24fc94a7f588fb769c8131e3.jpg","text":"TemporaryFile(/tmp/multipartBody2925863211347879723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_36_39_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca3055fe739898605f269924ef148817.jpg","text":"TemporaryFile(/tmp/multipartBody7947403863867302235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_35_58_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/171e7fe044cea3f1b6bc63425d00129a.jpg","text":"TemporaryFile(/tmp/multipartBody847045664926916901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_36_08_9263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f66b47228d092d4d51d27c69a38da859.jpg","text":"TemporaryFile(/tmp/multipartBody5765459084111317219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_36_18_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c86dd80e2daa7ab9ed8fb8fa96b3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2235369546416587733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447702818,"filename":"image_17082025_03_35_48_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681503","file1":"1377681501","file0":"1377681499","file4":"1377681510","file5":"1377681513","file3":"1377681506"},"map_files_photo_id_array":[{"photo_id":"1377681513","filename":"file5"},{"photo_id":"1377681503","filename":"file2"},{"photo_id":"1377681510","filename":"file4"},{"photo_id":"1377681501","filename":"file1"},{"photo_id":"1377681499","filename":"file0"},{"photo_id":"1377681506","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681510":["hashtag1","hashtag2"]},{"1377681513":["hashtag1","hashtag2"]},{"1377681501":["hashtag1","hashtag2"]},{"1377681503":["hashtag1","hashtag2"]},{"1377681506":["hashtag1","hashtag2"]},{"1377681499":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681510, 1377681513, 1377681501, 1377681503, 1377681506, 1377681499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64608812332153 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:21:42.011637
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/36/image_17082025_03_36_48_9216.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_58_10336.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_18_9221.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_28_10405.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_48_9101.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_58_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/36/image_17082025_03_36_48_9216.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_58_10336.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_18_9221.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_28_10405.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_48_9101.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_58_10380.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.507112979888916 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:22:02.601508
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/36/image_17082025_03_36_48_9216.jpg', '/media/data/images/17082025/03/36/image_17082025_03_36_58_10336.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_18_9221.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_28_10405.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_48_9101.jpg', '/media/data/images/17082025/03/37/image_17082025_03_37_58_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/36/image_17082025_03_36_48_9216.jpg
/media/data/images/17082025/03/36/image_17082025_03_36_58_10336.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_18_9221.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_28_10405.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_48_9101.jpg
/media/data/images/17082025/03/37/image_17082025_03_37_58_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681549","1377681543","1377681539","1377681533","1377681544","1377681547"],"photo_ids_order":["1377681533","1377681539","1377681543","1377681544","1377681547","1377681549"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/54989df4c36b06343dcd1bbde64cf6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6220649126673420531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_37_58_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aeb7a3320658c0d5986f357232406dba.jpg","text":"TemporaryFile(/tmp/multipartBody1124226941536179267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_37_18_9221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25e4082e68c6a88350f7d8cae8faa8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1540614361429944683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_36_58_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8050fdc7567286ddaccb70ec98ff9938.jpg","text":"TemporaryFile(/tmp/multipartBody9145387457603041260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_36_48_9216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/567370dbd123fe8ecef870099a43a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody8695225337253992318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_37_28_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8245fd529f491fff66d504adf311e08b.jpg","text":"TemporaryFile(/tmp/multipartBody6100078544748023915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447783541,"filename":"image_17082025_03_37_48_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681543","file1":"1377681539","file0":"1377681533","file4":"1377681547","file5":"1377681549","file3":"1377681544"},"map_files_photo_id_array":[{"photo_id":"1377681549","filename":"file5"},{"photo_id":"1377681543","filename":"file2"},{"photo_id":"1377681547","filename":"file4"},{"photo_id":"1377681539","filename":"file1"},{"photo_id":"1377681533","filename":"file0"},{"photo_id":"1377681544","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681549":["hashtag1","hashtag2"]},{"1377681543":["hashtag1","hashtag2"]},{"1377681539":["hashtag1","hashtag2"]},{"1377681533":["hashtag1","hashtag2"]},{"1377681544":["hashtag1","hashtag2"]},{"1377681547":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681549, 1377681543, 1377681539, 1377681533, 1377681544, 1377681547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.558971881866455 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:23:02.896774
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/38/image_17082025_03_38_08_10143.jpg', '/media/data/images/17082025/03/38/image_17082025_03_38_19_10440.jpg', '/media/data/images/17082025/03/38/image_17082025_03_38_28_9276.jpg', '/media/data/images/17082025/03/38/image_17082025_03_38_58_10365.jpg', '/media/data/images/17082025/03/39/image_17082025_03_39_08_10272.jpg', '/media/data/images/17082025/03/39/image_17082025_03_39_28_9097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/38/image_17082025_03_38_08_10143.jpg
/media/data/images/17082025/03/38/image_17082025_03_38_19_10440.jpg
/media/data/images/17082025/03/38/image_17082025_03_38_28_9276.jpg
/media/data/images/17082025/03/38/image_17082025_03_38_58_10365.jpg
/media/data/images/17082025/03/39/image_17082025_03_39_08_10272.jpg
/media/data/images/17082025/03/39/image_17082025_03_39_28_9097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681570","1377681567","1377681555","1377681563","1377681565","1377681553"],"photo_ids_order":["1377681553","1377681555","1377681563","1377681565","1377681567","1377681570"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3766e9af6a2efc0bf3e591b8fc7cff2f.jpg","text":"TemporaryFile(/tmp/multipartBody556242448194645565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_39_28_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/371674a9f248427c90e1c01ccc22a306.jpg","text":"TemporaryFile(/tmp/multipartBody6359823726834317913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_39_08_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/244eac4e9412bafb3d94ed271aa3e234.jpg","text":"TemporaryFile(/tmp/multipartBody6656908884100375565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_38_19_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c5326a9286b04c915b199e663bbe7595.jpg","text":"TemporaryFile(/tmp/multipartBody6224669501490200913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_38_28_9276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f08e3d30c5da5e8685005ca637dad2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7232263742303845060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_38_58_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/934b6b219d362b897e5463903dcfa3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6095059252757206012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447843886,"filename":"image_17082025_03_38_08_10143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681563","file1":"1377681555","file0":"1377681553","file4":"1377681567","file5":"1377681570","file3":"1377681565"},"map_files_photo_id_array":[{"photo_id":"1377681570","filename":"file5"},{"photo_id":"1377681563","filename":"file2"},{"photo_id":"1377681567","filename":"file4"},{"photo_id":"1377681555","filename":"file1"},{"photo_id":"1377681553","filename":"file0"},{"photo_id":"1377681565","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681570":["hashtag1","hashtag2"]},{"1377681567":["hashtag1","hashtag2"]},{"1377681555":["hashtag1","hashtag2"]},{"1377681563":["hashtag1","hashtag2"]},{"1377681565":["hashtag1","hashtag2"]},{"1377681553":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681570, 1377681567, 1377681555, 1377681563, 1377681565, 1377681553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43522095680237 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:24:02.903347
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/39/image_17082025_03_39_38_10358.jpg', '/media/data/images/17082025/03/39/image_17082025_03_39_48_10368.jpg', '/media/data/images/17082025/03/40/image_17082025_03_40_18_10401.jpg', '/media/data/images/17082025/03/40/image_17082025_03_40_38_9199.jpg', '/media/data/images/17082025/03/40/image_17082025_03_40_48_10340.jpg', '/media/data/images/17082025/03/40/image_17082025_03_40_59_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/39/image_17082025_03_39_38_10358.jpg
/media/data/images/17082025/03/39/image_17082025_03_39_48_10368.jpg
/media/data/images/17082025/03/40/image_17082025_03_40_18_10401.jpg
/media/data/images/17082025/03/40/image_17082025_03_40_38_9199.jpg
/media/data/images/17082025/03/40/image_17082025_03_40_48_10340.jpg
/media/data/images/17082025/03/40/image_17082025_03_40_59_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681591","1377681593","1377681590","1377681587","1377681592","1377681577"],"photo_ids_order":["1377681577","1377681587","1377681590","1377681591","1377681592","1377681593"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11a4a534fbf2a6a711afe3776581d0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6936563185950885086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_40_38_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c40f623bd197526c5ea72d4b770a09f9.jpg","text":"TemporaryFile(/tmp/multipartBody8887920189447981943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_40_59_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/159eb714a28a15458d154b11aadf76cb.jpg","text":"TemporaryFile(/tmp/multipartBody5122229957260734730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_40_18_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee1c93ca87fc62860969af19b4394b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1866779242545128449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_39_48_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77215a3f10c1c1f230f70d2d5991182b.jpg","text":"TemporaryFile(/tmp/multipartBody1772924865912685639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_40_48_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca94ffa8ed227e42d5a16b5dd3d2a0ee.jpg","text":"TemporaryFile(/tmp/multipartBody4315417199875124493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447903873,"filename":"image_17082025_03_39_38_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681590","file1":"1377681587","file0":"1377681577","file4":"1377681592","file5":"1377681593","file3":"1377681591"},"map_files_photo_id_array":[{"photo_id":"1377681593","filename":"file5"},{"photo_id":"1377681590","filename":"file2"},{"photo_id":"1377681592","filename":"file4"},{"photo_id":"1377681587","filename":"file1"},{"photo_id":"1377681577","filename":"file0"},{"photo_id":"1377681591","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681591":["hashtag1","hashtag2"]},{"1377681593":["hashtag1","hashtag2"]},{"1377681590":["hashtag1","hashtag2"]},{"1377681587":["hashtag1","hashtag2"]},{"1377681592":["hashtag1","hashtag2"]},{"1377681577":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681591, 1377681593, 1377681590, 1377681587, 1377681592, 1377681577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9336097240448 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:25:03.136338
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/41/image_17082025_03_41_08_8965.jpg', '/media/data/images/17082025/03/41/image_17082025_03_41_29_10457.jpg', '/media/data/images/17082025/03/41/image_17082025_03_41_48_10618.jpg', '/media/data/images/17082025/03/42/image_17082025_03_42_08_9045.jpg', '/media/data/images/17082025/03/42/image_17082025_03_42_29_10345.jpg', '/media/data/images/17082025/03/42/image_17082025_03_42_38_9165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/41/image_17082025_03_41_08_8965.jpg
/media/data/images/17082025/03/41/image_17082025_03_41_29_10457.jpg
/media/data/images/17082025/03/41/image_17082025_03_41_48_10618.jpg
/media/data/images/17082025/03/42/image_17082025_03_42_08_9045.jpg
/media/data/images/17082025/03/42/image_17082025_03_42_29_10345.jpg
/media/data/images/17082025/03/42/image_17082025_03_42_38_9165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681616","1377681612","1377681614","1377681602","1377681610","1377681604"],"photo_ids_order":["1377681602","1377681604","1377681610","1377681612","1377681614","1377681616"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c29591f1b2369a5bd79b86df2c3d0030.jpg","text":"TemporaryFile(/tmp/multipartBody2488049005739896573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_42_38_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3660a0cb0bbd6776804c73ffa5df29e.jpg","text":"TemporaryFile(/tmp/multipartBody4753159354403896105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_42_08_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d92d54fe807748c6426b689dec52ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody5395262961981003314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_42_29_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fdddbb0af3b331b1a370646275b6a68e.jpg","text":"TemporaryFile(/tmp/multipartBody3404173617601953568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_41_08_8965.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36a15fe9c11fb608e7f7f67947da5917.jpg","text":"TemporaryFile(/tmp/multipartBody8617251807455162342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_41_48_10618.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f306c3492125e16978b28ce3c7ad651c.jpg","text":"TemporaryFile(/tmp/multipartBody8152600399128351579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447964109,"filename":"image_17082025_03_41_29_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681610","file1":"1377681604","file0":"1377681602","file4":"1377681614","file5":"1377681616","file3":"1377681612"},"map_files_photo_id_array":[{"photo_id":"1377681616","filename":"file5"},{"photo_id":"1377681610","filename":"file2"},{"photo_id":"1377681614","filename":"file4"},{"photo_id":"1377681604","filename":"file1"},{"photo_id":"1377681602","filename":"file0"},{"photo_id":"1377681612","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681616":["hashtag1","hashtag2"]},{"1377681612":["hashtag1","hashtag2"]},{"1377681614":["hashtag1","hashtag2"]},{"1377681602":["hashtag1","hashtag2"]},{"1377681610":["hashtag1","hashtag2"]},{"1377681604":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681616, 1377681612, 1377681614, 1377681602, 1377681610, 1377681604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57462239265442 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:26:03.053436
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/42/image_17082025_03_42_59_10456.jpg', '/media/data/images/17082025/03/43/image_17082025_03_43_09_10227.jpg', '/media/data/images/17082025/03/43/image_17082025_03_43_28_10337.jpg', '/media/data/images/17082025/03/43/image_17082025_03_43_39_10474.jpg', '/media/data/images/17082025/03/43/image_17082025_03_43_48_9196.jpg', '/media/data/images/17082025/03/43/image_17082025_03_43_58_10483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/42/image_17082025_03_42_59_10456.jpg
/media/data/images/17082025/03/43/image_17082025_03_43_09_10227.jpg
/media/data/images/17082025/03/43/image_17082025_03_43_28_10337.jpg
/media/data/images/17082025/03/43/image_17082025_03_43_39_10474.jpg
/media/data/images/17082025/03/43/image_17082025_03_43_48_9196.jpg
/media/data/images/17082025/03/43/image_17082025_03_43_58_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681639","1377681624","1377681632","1377681641","1377681635","1377681637"],"photo_ids_order":["1377681624","1377681632","1377681635","1377681637","1377681639","1377681641"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8186f43aed4da63d7e9795264762c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8354151336208213169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_43_48_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/780f592e058882f0386d6f8b4d5b3a0f.jpg","text":"TemporaryFile(/tmp/multipartBody102757630751368381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_42_59_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/139c339d7cb7536b10cdbae81eec9efa.jpg","text":"TemporaryFile(/tmp/multipartBody3865516540943473860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_43_09_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f389a6a2b47d579941df8afbd0d3121.jpg","text":"TemporaryFile(/tmp/multipartBody4403771446986015277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_43_58_10483.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee0fc434bb48b17e858dab66492bd109.jpg","text":"TemporaryFile(/tmp/multipartBody7873289125786351449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_43_28_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d56a4dec77c2f6b2b0154061ba961398.jpg","text":"TemporaryFile(/tmp/multipartBody2124513255997068417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024023,"filename":"image_17082025_03_43_39_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681635","file1":"1377681632","file0":"1377681624","file4":"1377681639","file5":"1377681641","file3":"1377681637"},"map_files_photo_id_array":[{"photo_id":"1377681641","filename":"file5"},{"photo_id":"1377681635","filename":"file2"},{"photo_id":"1377681639","filename":"file4"},{"photo_id":"1377681632","filename":"file1"},{"photo_id":"1377681624","filename":"file0"},{"photo_id":"1377681637","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681639":["hashtag1","hashtag2"]},{"1377681624":["hashtag1","hashtag2"]},{"1377681632":["hashtag1","hashtag2"]},{"1377681641":["hashtag1","hashtag2"]},{"1377681635":["hashtag1","hashtag2"]},{"1377681637":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681639, 1377681624, 1377681632, 1377681641, 1377681635, 1377681637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34939360618591 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:27:03.395715
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/44/image_17082025_03_44_08_9333.jpg', '/media/data/images/17082025/03/44/image_17082025_03_44_18_10434.jpg', '/media/data/images/17082025/03/44/image_17082025_03_44_29_10522.jpg', '/media/data/images/17082025/03/44/image_17082025_03_44_38_9144.jpg', '/media/data/images/17082025/03/44/image_17082025_03_44_48_10436.jpg', '/media/data/images/17082025/03/44/image_17082025_03_44_59_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/44/image_17082025_03_44_08_9333.jpg
/media/data/images/17082025/03/44/image_17082025_03_44_18_10434.jpg
/media/data/images/17082025/03/44/image_17082025_03_44_29_10522.jpg
/media/data/images/17082025/03/44/image_17082025_03_44_38_9144.jpg
/media/data/images/17082025/03/44/image_17082025_03_44_48_10436.jpg
/media/data/images/17082025/03/44/image_17082025_03_44_59_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681651","1377681660","1377681663","1377681662","1377681659","1377681649"],"photo_ids_order":["1377681649","1377681651","1377681659","1377681660","1377681662","1377681663"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1eb7b95306fc9b4ed33ae5e4ba5f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody4260968639272473518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_18_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c193e021728cf0c9f9e896d302274198.jpg","text":"TemporaryFile(/tmp/multipartBody2733034308140229209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_38_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7731aeeb8c3a75ba0288d464a3822b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2320436869723805029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_59_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/974bf9819e3690a5b8a81cd9747e67f9.jpg","text":"TemporaryFile(/tmp/multipartBody3994941465348320704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_48_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ab27866242b8a4b9e5ce9b49afdea82.jpg","text":"TemporaryFile(/tmp/multipartBody5296826908953513375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_29_10522.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b85e8b02491e401dedacea49f48e2f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7245638348908949500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448084360,"filename":"image_17082025_03_44_08_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681659","file1":"1377681651","file0":"1377681649","file4":"1377681662","file5":"1377681663","file3":"1377681660"},"map_files_photo_id_array":[{"photo_id":"1377681663","filename":"file5"},{"photo_id":"1377681659","filename":"file2"},{"photo_id":"1377681662","filename":"file4"},{"photo_id":"1377681651","filename":"file1"},{"photo_id":"1377681649","filename":"file0"},{"photo_id":"1377681660","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681651":["hashtag1","hashtag2"]},{"1377681660":["hashtag1","hashtag2"]},{"1377681663":["hashtag1","hashtag2"]},{"1377681662":["hashtag1","hashtag2"]},{"1377681659":["hashtag1","hashtag2"]},{"1377681649":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681651, 1377681660, 1377681663, 1377681662, 1377681659, 1377681649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65511465072632 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:28:02.163358
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/45/image_17082025_03_45_08_9075.jpg', '/media/data/images/17082025/03/45/image_17082025_03_45_18_10340.jpg', '/media/data/images/17082025/03/45/image_17082025_03_45_29_10564.jpg', '/media/data/images/17082025/03/45/image_17082025_03_45_38_9155.jpg', '/media/data/images/17082025/03/45/image_17082025_03_45_48_10349.jpg', '/media/data/images/17082025/03/45/image_17082025_03_45_59_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/45/image_17082025_03_45_08_9075.jpg
/media/data/images/17082025/03/45/image_17082025_03_45_18_10340.jpg
/media/data/images/17082025/03/45/image_17082025_03_45_29_10564.jpg
/media/data/images/17082025/03/45/image_17082025_03_45_38_9155.jpg
/media/data/images/17082025/03/45/image_17082025_03_45_48_10349.jpg
/media/data/images/17082025/03/45/image_17082025_03_45_59_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681684","1377681672","1377681674","1377681686","1377681685","1377681682"],"photo_ids_order":["1377681672","1377681674","1377681682","1377681684","1377681685","1377681686"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bf346a9cf932787b72a1f9d9494b761.jpg","text":"TemporaryFile(/tmp/multipartBody4486925252104194145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_38_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b516e9061c3cbe46c15a630890d3d939.jpg","text":"TemporaryFile(/tmp/multipartBody4224291981777831547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_08_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50ff1232251283ece420b3baa4f832fc.jpg","text":"TemporaryFile(/tmp/multipartBody2525803701059894197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_18_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1f9bff6f669308d86acbd096f036e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5149956794650819123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_59_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58d8df45494f3358753554805fff6062.jpg","text":"TemporaryFile(/tmp/multipartBody8635992762551486962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_48_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59063c03a28b26ad5f093fa9839d50c6.jpg","text":"TemporaryFile(/tmp/multipartBody3531774101746922754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448143152,"filename":"image_17082025_03_45_29_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681682","file1":"1377681674","file0":"1377681672","file4":"1377681685","file5":"1377681686","file3":"1377681684"},"map_files_photo_id_array":[{"photo_id":"1377681686","filename":"file5"},{"photo_id":"1377681682","filename":"file2"},{"photo_id":"1377681685","filename":"file4"},{"photo_id":"1377681674","filename":"file1"},{"photo_id":"1377681672","filename":"file0"},{"photo_id":"1377681684","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681684":["hashtag1","hashtag2"]},{"1377681672":["hashtag1","hashtag2"]},{"1377681674":["hashtag1","hashtag2"]},{"1377681686":["hashtag1","hashtag2"]},{"1377681685":["hashtag1","hashtag2"]},{"1377681682":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681684, 1377681672, 1377681674, 1377681686, 1377681685, 1377681682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32532334327698 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:29:02.787654
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/46/image_17082025_03_46_08_9220.jpg', '/media/data/images/17082025/03/46/image_17082025_03_46_31_10358.jpg', '/media/data/images/17082025/03/46/image_17082025_03_46_38_8930.jpg', '/media/data/images/17082025/03/46/image_17082025_03_46_58_10362.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_18_10336.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_28_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/46/image_17082025_03_46_08_9220.jpg
/media/data/images/17082025/03/46/image_17082025_03_46_31_10358.jpg
/media/data/images/17082025/03/46/image_17082025_03_46_38_8930.jpg
/media/data/images/17082025/03/46/image_17082025_03_46_58_10362.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_18_10336.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_28_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681709","1377681693","1377681702","1377681707","1377681704","1377681694"],"photo_ids_order":["1377681693","1377681694","1377681702","1377681704","1377681707","1377681709"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c58668e199fb825ab2f4d4b80ecc6a1.jpg","text":"TemporaryFile(/tmp/multipartBody6356473264847041352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_47_28_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b67cf95c1be63f475b8a1d2545d1e980.jpg","text":"TemporaryFile(/tmp/multipartBody3573928624583620814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_46_08_9220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49b94dc76e9a202922d8f26db8613a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7854969817102451646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_46_38_8930.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fe08006d30c2db94e448ac1c3bb85cf.jpg","text":"TemporaryFile(/tmp/multipartBody504080116245835299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_47_18_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30c6f127a16f46c44c485b48c5abd19c.jpg","text":"TemporaryFile(/tmp/multipartBody449021873032698837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_46_58_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93924a2d3c5411bb59f239b7ff3724f7.jpg","text":"TemporaryFile(/tmp/multipartBody5338656277382818450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448203766,"filename":"image_17082025_03_46_31_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681702","file1":"1377681694","file0":"1377681693","file4":"1377681707","file5":"1377681709","file3":"1377681704"},"map_files_photo_id_array":[{"photo_id":"1377681709","filename":"file5"},{"photo_id":"1377681702","filename":"file2"},{"photo_id":"1377681707","filename":"file4"},{"photo_id":"1377681694","filename":"file1"},{"photo_id":"1377681693","filename":"file0"},{"photo_id":"1377681704","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681709":["hashtag1","hashtag2"]},{"1377681693":["hashtag1","hashtag2"]},{"1377681702":["hashtag1","hashtag2"]},{"1377681707":["hashtag1","hashtag2"]},{"1377681704":["hashtag1","hashtag2"]},{"1377681694":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681709, 1377681693, 1377681702, 1377681707, 1377681704, 1377681694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95127034187317 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:30:02.492293
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/47/image_17082025_03_47_39_10341.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_48_9104.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_58_10441.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_18_9123.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_28_10439.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_48_9146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/47/image_17082025_03_47_39_10341.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_48_9104.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_58_10441.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_18_9123.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_28_10439.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_48_9146.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.536461591720581 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:30:21.971945
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/47/image_17082025_03_47_39_10341.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_48_9104.jpg', '/media/data/images/17082025/03/47/image_17082025_03_47_58_10441.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_18_9123.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_28_10439.jpg', '/media/data/images/17082025/03/48/image_17082025_03_48_48_9146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/47/image_17082025_03_47_39_10341.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_48_9104.jpg
/media/data/images/17082025/03/47/image_17082025_03_47_58_10441.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_18_9123.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_28_10439.jpg
/media/data/images/17082025/03/48/image_17082025_03_48_48_9146.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681732","1377681741","1377681744","1377681737","1377681740","1377681742"],"photo_ids_order":["1377681732","1377681737","1377681740","1377681741","1377681742","1377681744"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee1d1495730e1e8e2b1a47a02555802a.jpg","text":"TemporaryFile(/tmp/multipartBody2598824609143345619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_47_39_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5f20f5e314f21a72725a0ca6194f17a.jpg","text":"TemporaryFile(/tmp/multipartBody7843220326778167186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_48_18_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/815f1800b688c61efab2fd7911184120.jpg","text":"TemporaryFile(/tmp/multipartBody5207247637206181477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_48_48_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90b3527ad81441eb084fde4ed870dd47.jpg","text":"TemporaryFile(/tmp/multipartBody3966115783923803550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_47_48_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1c60d79949d33bb082fd7ffdef829bb.jpg","text":"TemporaryFile(/tmp/multipartBody7713290521724160933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_47_58_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ddf6709e532bbeab05a70db85c633fe.jpg","text":"TemporaryFile(/tmp/multipartBody7472422401209386374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448282859,"filename":"image_17082025_03_48_28_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681740","file1":"1377681737","file0":"1377681732","file4":"1377681742","file5":"1377681744","file3":"1377681741"},"map_files_photo_id_array":[{"photo_id":"1377681744","filename":"file5"},{"photo_id":"1377681740","filename":"file2"},{"photo_id":"1377681742","filename":"file4"},{"photo_id":"1377681737","filename":"file1"},{"photo_id":"1377681732","filename":"file0"},{"photo_id":"1377681741","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681732":["hashtag1","hashtag2"]},{"1377681741":["hashtag1","hashtag2"]},{"1377681744":["hashtag1","hashtag2"]},{"1377681737":["hashtag1","hashtag2"]},{"1377681740":["hashtag1","hashtag2"]},{"1377681742":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681732, 1377681741, 1377681744, 1377681737, 1377681740, 1377681742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17730784416199 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:31:22.128792
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/48/image_17082025_03_48_58_10357.jpg', '/media/data/images/17082025/03/49/image_17082025_03_49_08_10367.jpg', '/media/data/images/17082025/03/49/image_17082025_03_49_19_10420.jpg', '/media/data/images/17082025/03/49/image_17082025_03_49_28_9101.jpg', '/media/data/images/17082025/03/49/image_17082025_03_49_38_10333.jpg', '/media/data/images/17082025/03/49/image_17082025_03_49_49_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/48/image_17082025_03_48_58_10357.jpg
/media/data/images/17082025/03/49/image_17082025_03_49_08_10367.jpg
/media/data/images/17082025/03/49/image_17082025_03_49_19_10420.jpg
/media/data/images/17082025/03/49/image_17082025_03_49_28_9101.jpg
/media/data/images/17082025/03/49/image_17082025_03_49_38_10333.jpg
/media/data/images/17082025/03/49/image_17082025_03_49_49_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681762","1377681761","1377681770","1377681764","1377681767","1377681760"],"photo_ids_order":["1377681760","1377681761","1377681762","1377681764","1377681767","1377681770"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11a4a06b5ace727bf198eb14e108daa7.jpg","text":"TemporaryFile(/tmp/multipartBody7558743546108524258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_49_19_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/385370e99c1fc1c7c66d0481239b821b.jpg","text":"TemporaryFile(/tmp/multipartBody7674827883181236620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_49_08_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2b24b542eb682f1a108aac3a0ad43cd.jpg","text":"TemporaryFile(/tmp/multipartBody7337474209992575886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_49_49_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccacb87bfa467d4df7d3dc694aea7f53.jpg","text":"TemporaryFile(/tmp/multipartBody4385247863346854895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_49_28_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1768c0b9d120115f440495a5ac121720.jpg","text":"TemporaryFile(/tmp/multipartBody7779473535911703820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_49_38_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af18afeaa38118b2f44d328c34ba541e.jpg","text":"TemporaryFile(/tmp/multipartBody1589143641158903190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448343092,"filename":"image_17082025_03_48_58_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681762","file1":"1377681761","file0":"1377681760","file4":"1377681767","file5":"1377681770","file3":"1377681764"},"map_files_photo_id_array":[{"photo_id":"1377681770","filename":"file5"},{"photo_id":"1377681762","filename":"file2"},{"photo_id":"1377681767","filename":"file4"},{"photo_id":"1377681761","filename":"file1"},{"photo_id":"1377681760","filename":"file0"},{"photo_id":"1377681764","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681762":["hashtag1","hashtag2"]},{"1377681761":["hashtag1","hashtag2"]},{"1377681770":["hashtag1","hashtag2"]},{"1377681764":["hashtag1","hashtag2"]},{"1377681767":["hashtag1","hashtag2"]},{"1377681760":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681762, 1377681761, 1377681770, 1377681764, 1377681767, 1377681760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37043118476868 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:32:02.825648
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/49/image_17082025_03_50_08_10626.jpg', '/media/data/images/17082025/03/50/image_17082025_03_50_18_9211.jpg', '/media/data/images/17082025/03/50/image_17082025_03_50_28_10380.jpg', '/media/data/images/17082025/03/50/image_17082025_03_50_48_9166.jpg', '/media/data/images/17082025/03/50/image_17082025_03_50_58_10363.jpg', '/media/data/images/17082025/03/51/image_17082025_03_51_09_10245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/49/image_17082025_03_50_08_10626.jpg
/media/data/images/17082025/03/50/image_17082025_03_50_18_9211.jpg
/media/data/images/17082025/03/50/image_17082025_03_50_28_10380.jpg
/media/data/images/17082025/03/50/image_17082025_03_50_48_9166.jpg
/media/data/images/17082025/03/50/image_17082025_03_50_58_10363.jpg
/media/data/images/17082025/03/51/image_17082025_03_51_09_10245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681789","1377681791","1377681776","1377681785","1377681787","1377681778"],"photo_ids_order":["1377681776","1377681778","1377681785","1377681787","1377681789","1377681791"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b81cfeeb2c7d74e38ec3b8bb9d501a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6315797253899367356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_50_58_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6869e7ed3d86e554aa697a98c064917d.jpg","text":"TemporaryFile(/tmp/multipartBody7920770330316854049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_51_09_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1add1dae90a65c3219cf2ff953ffc0ad.jpg","text":"TemporaryFile(/tmp/multipartBody7140064971708498061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_50_08_10626.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e954d9614cf14861483a35eec08c7651.jpg","text":"TemporaryFile(/tmp/multipartBody7316140799094559263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_50_28_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75dbc29c7ce84337fce416173f0befd7.jpg","text":"TemporaryFile(/tmp/multipartBody8187396156718876066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_50_48_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87fb136e0c319e9a515c4c54bbe16016.jpg","text":"TemporaryFile(/tmp/multipartBody1864147062446973621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448383798,"filename":"image_17082025_03_50_18_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681785","file1":"1377681778","file0":"1377681776","file4":"1377681789","file5":"1377681791","file3":"1377681787"},"map_files_photo_id_array":[{"photo_id":"1377681791","filename":"file5"},{"photo_id":"1377681785","filename":"file2"},{"photo_id":"1377681789","filename":"file4"},{"photo_id":"1377681778","filename":"file1"},{"photo_id":"1377681776","filename":"file0"},{"photo_id":"1377681787","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681789":["hashtag1","hashtag2"]},{"1377681791":["hashtag1","hashtag2"]},{"1377681776":["hashtag1","hashtag2"]},{"1377681785":["hashtag1","hashtag2"]},{"1377681787":["hashtag1","hashtag2"]},{"1377681778":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681789, 1377681791, 1377681776, 1377681785, 1377681787, 1377681778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82042741775513 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:33:03.197510
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/51/image_17082025_03_51_18_9170.jpg', '/media/data/images/17082025/03/51/image_17082025_03_51_39_10463.jpg', '/media/data/images/17082025/03/51/image_17082025_03_51_48_9196.jpg', '/media/data/images/17082025/03/51/image_17082025_03_51_58_10358.jpg', '/media/data/images/17082025/03/52/image_17082025_03_52_09_10380.jpg', '/media/data/images/17082025/03/52/image_17082025_03_52_18_9157.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/51/image_17082025_03_51_18_9170.jpg
/media/data/images/17082025/03/51/image_17082025_03_51_39_10463.jpg
/media/data/images/17082025/03/51/image_17082025_03_51_48_9196.jpg
/media/data/images/17082025/03/51/image_17082025_03_51_58_10358.jpg
/media/data/images/17082025/03/52/image_17082025_03_52_09_10380.jpg
/media/data/images/17082025/03/52/image_17082025_03_52_18_9157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681814","1377681808","1377681798","1377681813","1377681810","1377681800"],"photo_ids_order":["1377681798","1377681800","1377681808","1377681810","1377681813","1377681814"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4f829e807d7e2f6fdbb1e5103677016.jpg","text":"TemporaryFile(/tmp/multipartBody3374953340738021787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_52_18_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04341c77ffd2f86b2e9e64f97758db4e.jpg","text":"TemporaryFile(/tmp/multipartBody6604179285635068633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_51_48_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21171ec209b1b60ef5b10427fac35737.jpg","text":"TemporaryFile(/tmp/multipartBody4182569400785671105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_51_18_9170.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cf03565a5d7b4d3700129240b0258e4.jpg","text":"TemporaryFile(/tmp/multipartBody5965053672156143357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_52_09_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/505d81af2003a2eb87ee8a8b7b797295.jpg","text":"TemporaryFile(/tmp/multipartBody626439909732838227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_51_58_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c2a5259b1045ef082794745d598e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody7227056873422292575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448444172,"filename":"image_17082025_03_51_39_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681808","file1":"1377681800","file0":"1377681798","file4":"1377681813","file5":"1377681814","file3":"1377681810"},"map_files_photo_id_array":[{"photo_id":"1377681814","filename":"file5"},{"photo_id":"1377681808","filename":"file2"},{"photo_id":"1377681813","filename":"file4"},{"photo_id":"1377681800","filename":"file1"},{"photo_id":"1377681798","filename":"file0"},{"photo_id":"1377681810","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681814":["hashtag1","hashtag2"]},{"1377681808":["hashtag1","hashtag2"]},{"1377681798":["hashtag1","hashtag2"]},{"1377681813":["hashtag1","hashtag2"]},{"1377681810":["hashtag1","hashtag2"]},{"1377681800":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681814, 1377681808, 1377681798, 1377681813, 1377681810, 1377681800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3136100769043 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:34:03.150774
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/52/image_17082025_03_52_28_10340.jpg', '/media/data/images/17082025/03/52/image_17082025_03_52_38_10392.jpg', '/media/data/images/17082025/03/52/image_17082025_03_52_49_10369.jpg', '/media/data/images/17082025/03/52/image_17082025_03_53_08_10467.jpg', '/media/data/images/17082025/03/53/image_17082025_03_53_19_10417.jpg', '/media/data/images/17082025/03/53/image_17082025_03_53_28_9142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/52/image_17082025_03_52_28_10340.jpg
/media/data/images/17082025/03/52/image_17082025_03_52_38_10392.jpg
/media/data/images/17082025/03/52/image_17082025_03_52_49_10369.jpg
/media/data/images/17082025/03/52/image_17082025_03_53_08_10467.jpg
/media/data/images/17082025/03/53/image_17082025_03_53_19_10417.jpg
/media/data/images/17082025/03/53/image_17082025_03_53_28_9142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681832","1377681834","1377681836","1377681821","1377681829","1377681838"],"photo_ids_order":["1377681821","1377681829","1377681832","1377681834","1377681836","1377681838"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/506f8a8f1f4983c86f84689bf8f5f2f7.jpg","text":"TemporaryFile(/tmp/multipartBody5276505557119039762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_52_49_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5f28b6dca39c0e580e9b659a67d3a5b.jpg","text":"TemporaryFile(/tmp/multipartBody790416429130610626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_53_08_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b774a1490971fae3f1c9d292b1328dba.jpg","text":"TemporaryFile(/tmp/multipartBody8885202055169137825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_53_19_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60c3e32ca2be3b9730ec95372b134931.jpg","text":"TemporaryFile(/tmp/multipartBody5986493859776924323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_52_28_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9da8e0c7299785a37a490f877e718a04.jpg","text":"TemporaryFile(/tmp/multipartBody5624591053822600089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_52_38_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c890b801569b92c4bcf4e1c5bcae019e.jpg","text":"TemporaryFile(/tmp/multipartBody2315882881863895804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448504136,"filename":"image_17082025_03_53_28_9142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681832","file1":"1377681829","file0":"1377681821","file4":"1377681836","file5":"1377681838","file3":"1377681834"},"map_files_photo_id_array":[{"photo_id":"1377681838","filename":"file5"},{"photo_id":"1377681832","filename":"file2"},{"photo_id":"1377681836","filename":"file4"},{"photo_id":"1377681829","filename":"file1"},{"photo_id":"1377681821","filename":"file0"},{"photo_id":"1377681834","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681832":["hashtag1","hashtag2"]},{"1377681834":["hashtag1","hashtag2"]},{"1377681836":["hashtag1","hashtag2"]},{"1377681821":["hashtag1","hashtag2"]},{"1377681829":["hashtag1","hashtag2"]},{"1377681838":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681832, 1377681834, 1377681836, 1377681821, 1377681829, 1377681838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02821612358093 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:35:03.202551
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/53/image_17082025_03_53_49_10349.jpg', '/media/data/images/17082025/03/54/image_17082025_03_54_19_10342.jpg', '/media/data/images/17082025/03/54/image_17082025_03_54_38_10354.jpg', '/media/data/images/17082025/03/54/image_17082025_03_54_49_10394.jpg', '/media/data/images/17082025/03/54/image_17082025_03_54_58_9130.jpg', '/media/data/images/17082025/03/54/image_17082025_03_55_08_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/53/image_17082025_03_53_49_10349.jpg
/media/data/images/17082025/03/54/image_17082025_03_54_19_10342.jpg
/media/data/images/17082025/03/54/image_17082025_03_54_38_10354.jpg
/media/data/images/17082025/03/54/image_17082025_03_54_49_10394.jpg
/media/data/images/17082025/03/54/image_17082025_03_54_58_9130.jpg
/media/data/images/17082025/03/54/image_17082025_03_55_08_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681861","1377681852","1377681855","1377681857","1377681859","1377681847"],"photo_ids_order":["1377681847","1377681852","1377681855","1377681857","1377681859","1377681861"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2213bc9ecf777820550d3c682afa2053.jpg","text":"TemporaryFile(/tmp/multipartBody2377042950935470807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_55_08_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8dc4c3b1322fdd12645916fbd7fc146b.jpg","text":"TemporaryFile(/tmp/multipartBody3949662027513337471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_54_19_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15ab877964e4aaeee2b4f4dd07c8dfc4.jpg","text":"TemporaryFile(/tmp/multipartBody2079222257510416418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_54_38_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/377e0bddc41ea822109cf0d16a5a630f.jpg","text":"TemporaryFile(/tmp/multipartBody425905510635180674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_54_49_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fddf3a573a9d8f33c4921c06430199cb.jpg","text":"TemporaryFile(/tmp/multipartBody3610428305574060151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_54_58_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/806c84fe401036f53e9ea21f6145b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1341121677063945746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448564182,"filename":"image_17082025_03_53_49_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681855","file1":"1377681852","file0":"1377681847","file4":"1377681859","file5":"1377681861","file3":"1377681857"},"map_files_photo_id_array":[{"photo_id":"1377681861","filename":"file5"},{"photo_id":"1377681855","filename":"file2"},{"photo_id":"1377681859","filename":"file4"},{"photo_id":"1377681852","filename":"file1"},{"photo_id":"1377681847","filename":"file0"},{"photo_id":"1377681857","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681861":["hashtag1","hashtag2"]},{"1377681852":["hashtag1","hashtag2"]},{"1377681855":["hashtag1","hashtag2"]},{"1377681857":["hashtag1","hashtag2"]},{"1377681859":["hashtag1","hashtag2"]},{"1377681847":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681861, 1377681852, 1377681855, 1377681857, 1377681859, 1377681847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25961637496948 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:36:03.129127
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/55/image_17082025_03_55_28_9226.jpg', '/media/data/images/17082025/03/55/image_17082025_03_55_49_10342.jpg', '/media/data/images/17082025/03/55/image_17082025_03_55_58_9208.jpg', '/media/data/images/17082025/03/55/image_17082025_03_56_08_10615.jpg', '/media/data/images/17082025/03/56/image_17082025_03_56_19_10352.jpg', '/media/data/images/17082025/03/56/image_17082025_03_56_28_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/55/image_17082025_03_55_28_9226.jpg
/media/data/images/17082025/03/55/image_17082025_03_55_49_10342.jpg
/media/data/images/17082025/03/55/image_17082025_03_55_58_9208.jpg
/media/data/images/17082025/03/55/image_17082025_03_56_08_10615.jpg
/media/data/images/17082025/03/56/image_17082025_03_56_19_10352.jpg
/media/data/images/17082025/03/56/image_17082025_03_56_28_9105.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5445597171783447 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:36:22.695451
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/55/image_17082025_03_55_28_9226.jpg', '/media/data/images/17082025/03/55/image_17082025_03_55_49_10342.jpg', '/media/data/images/17082025/03/55/image_17082025_03_55_58_9208.jpg', '/media/data/images/17082025/03/55/image_17082025_03_56_08_10615.jpg', '/media/data/images/17082025/03/56/image_17082025_03_56_19_10352.jpg', '/media/data/images/17082025/03/56/image_17082025_03_56_28_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/55/image_17082025_03_55_28_9226.jpg
/media/data/images/17082025/03/55/image_17082025_03_55_49_10342.jpg
/media/data/images/17082025/03/55/image_17082025_03_55_58_9208.jpg
/media/data/images/17082025/03/55/image_17082025_03_56_08_10615.jpg
/media/data/images/17082025/03/56/image_17082025_03_56_19_10352.jpg
/media/data/images/17082025/03/56/image_17082025_03_56_28_9105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681885","1377681879","1377681884","1377681883","1377681886","1377681889"],"photo_ids_order":["1377681879","1377681883","1377681884","1377681885","1377681886","1377681889"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5530476fa2b159ee85eddbb7ade0e9e4.jpg","text":"TemporaryFile(/tmp/multipartBody6624672467989041706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_56_08_10615.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d83e00e587ad54b6e1ac49926ad77e13.jpg","text":"TemporaryFile(/tmp/multipartBody5284000933985532931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_55_28_9226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3acae152ed0e6b52ebb054e775d8faab.jpg","text":"TemporaryFile(/tmp/multipartBody1973673645678420648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_55_58_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4fb55839f816b39716d082cbdf906775.jpg","text":"TemporaryFile(/tmp/multipartBody8838450215093926519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_55_49_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d406fad6e5d6668d2cb30aa48502aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7007754529164301003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_56_19_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef606a9a1ee553678cfe9aee5c348554.jpg","text":"TemporaryFile(/tmp/multipartBody3396178511325009017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448643643,"filename":"image_17082025_03_56_28_9105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681884","file1":"1377681883","file0":"1377681879","file4":"1377681886","file5":"1377681889","file3":"1377681885"},"map_files_photo_id_array":[{"photo_id":"1377681889","filename":"file5"},{"photo_id":"1377681884","filename":"file2"},{"photo_id":"1377681886","filename":"file4"},{"photo_id":"1377681883","filename":"file1"},{"photo_id":"1377681879","filename":"file0"},{"photo_id":"1377681885","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681885":["hashtag1","hashtag2"]},{"1377681879":["hashtag1","hashtag2"]},{"1377681884":["hashtag1","hashtag2"]},{"1377681883":["hashtag1","hashtag2"]},{"1377681886":["hashtag1","hashtag2"]},{"1377681889":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681885, 1377681879, 1377681884, 1377681883, 1377681886, 1377681889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8439462184906 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:37:21.862147
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/56/image_17082025_03_56_38_10565.jpg', '/media/data/images/17082025/03/56/image_17082025_03_57_08_10426.jpg', '/media/data/images/17082025/03/57/image_17082025_03_57_28_9101.jpg', '/media/data/images/17082025/03/57/image_17082025_03_57_38_10446.jpg', '/media/data/images/17082025/03/57/image_17082025_03_57_49_10338.jpg', '/media/data/images/17082025/03/57/image_17082025_03_57_58_9180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/56/image_17082025_03_56_38_10565.jpg
/media/data/images/17082025/03/56/image_17082025_03_57_08_10426.jpg
/media/data/images/17082025/03/57/image_17082025_03_57_28_9101.jpg
/media/data/images/17082025/03/57/image_17082025_03_57_38_10446.jpg
/media/data/images/17082025/03/57/image_17082025_03_57_49_10338.jpg
/media/data/images/17082025/03/57/image_17082025_03_57_58_9180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681910","1377681903","1377681905","1377681908","1377681902","1377681901"],"photo_ids_order":["1377681901","1377681902","1377681903","1377681905","1377681908","1377681910"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/751421727a2316523695f23bbefba827.jpg","text":"TemporaryFile(/tmp/multipartBody2854907256089737786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_57_58_9180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa7c7178ea1f7727fd8c8f1a8b907367.jpg","text":"TemporaryFile(/tmp/multipartBody4793821498934504359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_57_28_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9b50d97cb4370b37472cb1ba494da72.jpg","text":"TemporaryFile(/tmp/multipartBody2450663547541429718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_57_38_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82ce4ca76d247d9317c6fd7ef6d2d587.jpg","text":"TemporaryFile(/tmp/multipartBody5014604229516763488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_57_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a09b6000ac8e3456992998e64a4ee1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4887556218168191134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_57_08_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41de61a90f8d69e359927d0f1e1f0b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1284261233119086013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448702823,"filename":"image_17082025_03_56_38_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681903","file1":"1377681902","file0":"1377681901","file4":"1377681908","file5":"1377681910","file3":"1377681905"},"map_files_photo_id_array":[{"photo_id":"1377681910","filename":"file5"},{"photo_id":"1377681903","filename":"file2"},{"photo_id":"1377681908","filename":"file4"},{"photo_id":"1377681902","filename":"file1"},{"photo_id":"1377681901","filename":"file0"},{"photo_id":"1377681905","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681910":["hashtag1","hashtag2"]},{"1377681903":["hashtag1","hashtag2"]},{"1377681905":["hashtag1","hashtag2"]},{"1377681908":["hashtag1","hashtag2"]},{"1377681902":["hashtag1","hashtag2"]},{"1377681901":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681910, 1377681903, 1377681905, 1377681908, 1377681902, 1377681901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06211471557617 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:38:21.964838
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/57/image_17082025_03_58_08_10535.jpg', '/media/data/images/17082025/03/58/image_17082025_03_58_28_9246.jpg', '/media/data/images/17082025/03/58/image_17082025_03_58_49_10379.jpg', '/media/data/images/17082025/03/58/image_17082025_03_59_08_10477.jpg', '/media/data/images/17082025/03/59/image_17082025_03_59_19_10433.jpg', '/media/data/images/17082025/03/59/image_17082025_03_59_28_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/57/image_17082025_03_58_08_10535.jpg
/media/data/images/17082025/03/58/image_17082025_03_58_28_9246.jpg
/media/data/images/17082025/03/58/image_17082025_03_58_49_10379.jpg
/media/data/images/17082025/03/58/image_17082025_03_59_08_10477.jpg
/media/data/images/17082025/03/59/image_17082025_03_59_19_10433.jpg
/media/data/images/17082025/03/59/image_17082025_03_59_28_9102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681931","1377681925","1377681936","1377681923","1377681929","1377681934"],"photo_ids_order":["1377681923","1377681925","1377681929","1377681931","1377681934","1377681936"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5f4e5a61c1213337bf1afc8df8e7433.jpg","text":"TemporaryFile(/tmp/multipartBody7571040900876280680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_59_08_10477.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0ee8b14ed417dd4c0e0df449a61cd28.jpg","text":"TemporaryFile(/tmp/multipartBody981055767046896782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_58_28_9246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9a4dd274978791e406c196a1f6b6893.jpg","text":"TemporaryFile(/tmp/multipartBody1074595377026274708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_59_28_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91d358bb855355111f5c19ca9428e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8635303581247864755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_58_08_10535.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17fd4ab11d23999d9acf4370e60157c2.jpg","text":"TemporaryFile(/tmp/multipartBody6184060804434332761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_58_49_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67958209146aeb74b6869876a5b75827.jpg","text":"TemporaryFile(/tmp/multipartBody1304132425889220316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448762957,"filename":"image_17082025_03_59_19_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681929","file1":"1377681925","file0":"1377681923","file4":"1377681934","file5":"1377681936","file3":"1377681931"},"map_files_photo_id_array":[{"photo_id":"1377681936","filename":"file5"},{"photo_id":"1377681929","filename":"file2"},{"photo_id":"1377681934","filename":"file4"},{"photo_id":"1377681925","filename":"file1"},{"photo_id":"1377681923","filename":"file0"},{"photo_id":"1377681931","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681931":["hashtag1","hashtag2"]},{"1377681925":["hashtag1","hashtag2"]},{"1377681936":["hashtag1","hashtag2"]},{"1377681923":["hashtag1","hashtag2"]},{"1377681929":["hashtag1","hashtag2"]},{"1377681934":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681931, 1377681925, 1377681936, 1377681923, 1377681929, 1377681934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61879014968872 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:39:22.101450
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/03/59/image_17082025_03_59_38_10334.jpg', '/media/data/images/17082025/03/59/image_17082025_03_59_48_10329.jpg', '/media/data/images/17082025/03/59/image_17082025_03_59_58_9204.jpg', '/media/data/images/17082025/03/59/image_17082025_04_00_08_10744.jpg', '/media/data/images/17082025/04/00/image_17082025_04_00_28_9241.jpg', '/media/data/images/17082025/04/00/image_17082025_04_00_38_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/03/59/image_17082025_03_59_38_10334.jpg
/media/data/images/17082025/03/59/image_17082025_03_59_48_10329.jpg
/media/data/images/17082025/03/59/image_17082025_03_59_58_9204.jpg
/media/data/images/17082025/03/59/image_17082025_04_00_08_10744.jpg
/media/data/images/17082025/04/00/image_17082025_04_00_28_9241.jpg
/media/data/images/17082025/04/00/image_17082025_04_00_38_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681954","1377681956","1377681950","1377681958","1377681952","1377681955"],"photo_ids_order":["1377681950","1377681952","1377681954","1377681955","1377681956","1377681958"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e490e6d4162ca6a41558a66cebda2e9c.jpg","text":"TemporaryFile(/tmp/multipartBody2593261820409519949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_03_59_58_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a940325272a9370ae6936da5d5cf1304.jpg","text":"TemporaryFile(/tmp/multipartBody2238068773818151283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_04_00_28_9241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/699f71581ffcc1f6fbc976ef0a8b5112.jpg","text":"TemporaryFile(/tmp/multipartBody1277899498058086630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_03_59_38_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20df26757d2630aed85568b59c7a8712.jpg","text":"TemporaryFile(/tmp/multipartBody5498855404924736783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_04_00_38_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/859dba422392d1aa19411394b032f240.jpg","text":"TemporaryFile(/tmp/multipartBody4569116040170816732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_03_59_48_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2939e58402cfa90387dafad65e295cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3160251697878004364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448823108,"filename":"image_17082025_04_00_08_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681954","file1":"1377681952","file0":"1377681950","file4":"1377681956","file5":"1377681958","file3":"1377681955"},"map_files_photo_id_array":[{"photo_id":"1377681958","filename":"file5"},{"photo_id":"1377681954","filename":"file2"},{"photo_id":"1377681956","filename":"file4"},{"photo_id":"1377681952","filename":"file1"},{"photo_id":"1377681950","filename":"file0"},{"photo_id":"1377681955","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681954":["hashtag1","hashtag2"]},{"1377681956":["hashtag1","hashtag2"]},{"1377681950":["hashtag1","hashtag2"]},{"1377681958":["hashtag1","hashtag2"]},{"1377681952":["hashtag1","hashtag2"]},{"1377681955":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681954, 1377681956, 1377681950, 1377681958, 1377681952, 1377681955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74456810951233 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:40:22.161767
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/00/image_17082025_04_00_49_10401.jpg', '/media/data/images/17082025/04/00/image_17082025_04_00_58_9103.jpg', '/media/data/images/17082025/04/00/image_17082025_04_01_08_10580.jpg', '/media/data/images/17082025/04/01/image_17082025_04_01_28_9132.jpg', '/media/data/images/17082025/04/01/image_17082025_04_01_38_10339.jpg', '/media/data/images/17082025/04/01/image_17082025_04_01_49_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/00/image_17082025_04_00_49_10401.jpg
/media/data/images/17082025/04/00/image_17082025_04_00_58_9103.jpg
/media/data/images/17082025/04/00/image_17082025_04_01_08_10580.jpg
/media/data/images/17082025/04/01/image_17082025_04_01_28_9132.jpg
/media/data/images/17082025/04/01/image_17082025_04_01_38_10339.jpg
/media/data/images/17082025/04/01/image_17082025_04_01_49_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681978","1377681980","1377681977","1377681982","1377681976","1377681985"],"photo_ids_order":["1377681976","1377681977","1377681978","1377681980","1377681982","1377681985"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a3c15c91eef8bd20e168924c5267825.jpg","text":"TemporaryFile(/tmp/multipartBody4593101072050415318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_01_08_10580.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b10d0bec5cfcba2b0ab690f8744b0198.jpg","text":"TemporaryFile(/tmp/multipartBody3844192512411721395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_01_28_9132.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a246b94bb980ee33dc21cbd5b65ec56e.jpg","text":"TemporaryFile(/tmp/multipartBody3295851308295917596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_00_58_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1f916fc12fa2dbfcca9dbd6e476e84b.jpg","text":"TemporaryFile(/tmp/multipartBody5548968943449522083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_01_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e98171699ed67c1877c27490a2f9f937.jpg","text":"TemporaryFile(/tmp/multipartBody6156749775238704583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_00_49_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f03d1c29611b833559375b4f790408d3.jpg","text":"TemporaryFile(/tmp/multipartBody1180369994139183549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448883134,"filename":"image_17082025_04_01_49_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681978","file1":"1377681977","file0":"1377681976","file4":"1377681982","file5":"1377681985","file3":"1377681980"},"map_files_photo_id_array":[{"photo_id":"1377681985","filename":"file5"},{"photo_id":"1377681978","filename":"file2"},{"photo_id":"1377681982","filename":"file4"},{"photo_id":"1377681977","filename":"file1"},{"photo_id":"1377681976","filename":"file0"},{"photo_id":"1377681980","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377681978":["hashtag1","hashtag2"]},{"1377681980":["hashtag1","hashtag2"]},{"1377681977":["hashtag1","hashtag2"]},{"1377681982":["hashtag1","hashtag2"]},{"1377681976":["hashtag1","hashtag2"]},{"1377681985":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377681978, 1377681980, 1377681977, 1377681982, 1377681976, 1377681985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01787042617798 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:41:22.231942
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/01/image_17082025_04_01_58_9102.jpg', '/media/data/images/17082025/04/02/image_17082025_04_02_18_9131.jpg', '/media/data/images/17082025/04/02/image_17082025_04_02_28_10340.jpg', '/media/data/images/17082025/04/02/image_17082025_04_02_38_10339.jpg', '/media/data/images/17082025/04/02/image_17082025_04_02_49_10348.jpg', '/media/data/images/17082025/04/02/image_17082025_04_02_58_9098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/01/image_17082025_04_01_58_9102.jpg
/media/data/images/17082025/04/02/image_17082025_04_02_18_9131.jpg
/media/data/images/17082025/04/02/image_17082025_04_02_28_10340.jpg
/media/data/images/17082025/04/02/image_17082025_04_02_38_10339.jpg
/media/data/images/17082025/04/02/image_17082025_04_02_49_10348.jpg
/media/data/images/17082025/04/02/image_17082025_04_02_58_9098.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682005","1377682002","1377682004","1377682013","1377682007","1377682009"],"photo_ids_order":["1377682002","1377682004","1377682005","1377682007","1377682009","1377682013"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ae1841c7ae9d6a26a9035351aa04267.jpg","text":"TemporaryFile(/tmp/multipartBody286432630808612812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_02_28_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed4cef7107410f17eb5a9c1759aa9adc.jpg","text":"TemporaryFile(/tmp/multipartBody5413623792927827725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_01_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3047026c87dfac55a1f25252f1fb18fc.jpg","text":"TemporaryFile(/tmp/multipartBody7957979297113482864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_02_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2e0c9ae167a7f75a108a705dc65f62f.jpg","text":"TemporaryFile(/tmp/multipartBody2954968428836415860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_02_58_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6c3b2c1cbb96a62c84ef7440a27dc1c.jpg","text":"TemporaryFile(/tmp/multipartBody2522347812763671263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_02_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/645a83d3eed3ccbaaf6db76f4361c83c.jpg","text":"TemporaryFile(/tmp/multipartBody4255937329821374047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448943188,"filename":"image_17082025_04_02_49_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682005","file1":"1377682004","file0":"1377682002","file4":"1377682009","file5":"1377682013","file3":"1377682007"},"map_files_photo_id_array":[{"photo_id":"1377682013","filename":"file5"},{"photo_id":"1377682005","filename":"file2"},{"photo_id":"1377682009","filename":"file4"},{"photo_id":"1377682004","filename":"file1"},{"photo_id":"1377682002","filename":"file0"},{"photo_id":"1377682007","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682005":["hashtag1","hashtag2"]},{"1377682002":["hashtag1","hashtag2"]},{"1377682004":["hashtag1","hashtag2"]},{"1377682013":["hashtag1","hashtag2"]},{"1377682007":["hashtag1","hashtag2"]},{"1377682009":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682005, 1377682002, 1377682004, 1377682013, 1377682007, 1377682009)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.43313717842102 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:42:22.428599
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/02/image_17082025_04_03_08_10366.jpg', '/media/data/images/17082025/04/03/image_17082025_04_03_19_10345.jpg', '/media/data/images/17082025/04/03/image_17082025_04_03_28_9105.jpg', '/media/data/images/17082025/04/03/image_17082025_04_03_38_10329.jpg', '/media/data/images/17082025/04/03/image_17082025_04_03_48_10375.jpg', '/media/data/images/17082025/04/03/image_17082025_04_03_59_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/02/image_17082025_04_03_08_10366.jpg
/media/data/images/17082025/04/03/image_17082025_04_03_19_10345.jpg
/media/data/images/17082025/04/03/image_17082025_04_03_28_9105.jpg
/media/data/images/17082025/04/03/image_17082025_04_03_38_10329.jpg
/media/data/images/17082025/04/03/image_17082025_04_03_48_10375.jpg
/media/data/images/17082025/04/03/image_17082025_04_03_59_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682038","1377682026","1377682039","1377682033","1377682036","1377682030"],"photo_ids_order":["1377682026","1377682030","1377682033","1377682036","1377682038","1377682039"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad80b40adf21132baa9aefcb317e88b5.jpg","text":"TemporaryFile(/tmp/multipartBody7951663688952781353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_48_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d06624efb0bc16ab446544f89b9a13a8.jpg","text":"TemporaryFile(/tmp/multipartBody1019927465681148245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_08_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0578768e791dcfb1dbd1f07b20e6670.jpg","text":"TemporaryFile(/tmp/multipartBody391870882359509994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_59_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bea8a97213f3f077d630e5efa75d8a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3807195615821279593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd16af592b569fe4a8f186eb48199eb0.jpg","text":"TemporaryFile(/tmp/multipartBody9138845918991053095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99cc5b2eb504b51ecfe51d91ec118549.jpg","text":"TemporaryFile(/tmp/multipartBody7129516604956274133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449003385,"filename":"image_17082025_04_03_19_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682033","file1":"1377682030","file0":"1377682026","file4":"1377682038","file5":"1377682039","file3":"1377682036"},"map_files_photo_id_array":[{"photo_id":"1377682039","filename":"file5"},{"photo_id":"1377682033","filename":"file2"},{"photo_id":"1377682038","filename":"file4"},{"photo_id":"1377682030","filename":"file1"},{"photo_id":"1377682026","filename":"file0"},{"photo_id":"1377682036","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682038":["hashtag1","hashtag2"]},{"1377682026":["hashtag1","hashtag2"]},{"1377682039":["hashtag1","hashtag2"]},{"1377682033":["hashtag1","hashtag2"]},{"1377682036":["hashtag1","hashtag2"]},{"1377682030":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682038, 1377682026, 1377682039, 1377682033, 1377682036, 1377682030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56722044944763 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:43:22.556997
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/04/image_17082025_04_04_08_9090.jpg', '/media/data/images/17082025/04/04/image_17082025_04_04_18_10407.jpg', '/media/data/images/17082025/04/04/image_17082025_04_04_29_10400.jpg', '/media/data/images/17082025/04/04/image_17082025_04_04_38_9265.jpg', '/media/data/images/17082025/04/04/image_17082025_04_04_48_10344.jpg', '/media/data/images/17082025/04/04/image_17082025_04_04_59_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/04/image_17082025_04_04_08_9090.jpg
/media/data/images/17082025/04/04/image_17082025_04_04_18_10407.jpg
/media/data/images/17082025/04/04/image_17082025_04_04_29_10400.jpg
/media/data/images/17082025/04/04/image_17082025_04_04_38_9265.jpg
/media/data/images/17082025/04/04/image_17082025_04_04_48_10344.jpg
/media/data/images/17082025/04/04/image_17082025_04_04_59_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682059","1377682053","1377682061","1377682055","1377682058","1377682057"],"photo_ids_order":["1377682053","1377682055","1377682057","1377682058","1377682059","1377682061"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/905359e5ca653cca06736785e722e87d.jpg","text":"TemporaryFile(/tmp/multipartBody1126929476714164966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_48_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1912fc50db586a207da24132cb1751b5.jpg","text":"TemporaryFile(/tmp/multipartBody3613312914105065140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_08_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f93712599461499daaf8977056119f2.jpg","text":"TemporaryFile(/tmp/multipartBody672665339871856189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_59_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29b39e82b058d0f5636c64cb068ec45a.jpg","text":"TemporaryFile(/tmp/multipartBody8889898154515704273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_18_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bbc663ffe3660b1b690c94131903d62c.jpg","text":"TemporaryFile(/tmp/multipartBody8176360664499417319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_38_9265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b4d43c69911eea4ee4818809af47dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3928095589026097043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449063539,"filename":"image_17082025_04_04_29_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682057","file1":"1377682055","file0":"1377682053","file4":"1377682059","file5":"1377682061","file3":"1377682058"},"map_files_photo_id_array":[{"photo_id":"1377682061","filename":"file5"},{"photo_id":"1377682057","filename":"file2"},{"photo_id":"1377682059","filename":"file4"},{"photo_id":"1377682055","filename":"file1"},{"photo_id":"1377682053","filename":"file0"},{"photo_id":"1377682058","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682059":["hashtag1","hashtag2"]},{"1377682053":["hashtag1","hashtag2"]},{"1377682061":["hashtag1","hashtag2"]},{"1377682055":["hashtag1","hashtag2"]},{"1377682058":["hashtag1","hashtag2"]},{"1377682057":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682059, 1377682053, 1377682061, 1377682055, 1377682058, 1377682057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.623512268066406 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:44:22.673939
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/05/image_17082025_04_05_38_9198.jpg', '/media/data/images/17082025/04/05/image_17082025_04_05_48_10402.jpg', '/media/data/images/17082025/04/05/image_17082025_04_05_58_9325.jpg', '/media/data/images/17082025/04/05/image_17082025_04_06_08_10520.jpg', '/media/data/images/17082025/04/06/image_17082025_04_06_19_10539.jpg', '/media/data/images/17082025/04/06/image_17082025_04_06_28_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/05/image_17082025_04_05_38_9198.jpg
/media/data/images/17082025/04/05/image_17082025_04_05_48_10402.jpg
/media/data/images/17082025/04/05/image_17082025_04_05_58_9325.jpg
/media/data/images/17082025/04/05/image_17082025_04_06_08_10520.jpg
/media/data/images/17082025/04/06/image_17082025_04_06_19_10539.jpg
/media/data/images/17082025/04/06/image_17082025_04_06_28_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682079","1377682088","1377682082","1377682084","1377682078","1377682086"],"photo_ids_order":["1377682078","1377682079","1377682082","1377682084","1377682086","1377682088"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7673ece8a79c000e0819b403e57224ba.jpg","text":"TemporaryFile(/tmp/multipartBody8584943190718455732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_05_48_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1718c3591393a465dcf8140776d110cf.jpg","text":"TemporaryFile(/tmp/multipartBody4232029480427473870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_06_28_9331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/780ef344a0007f24648901a996174a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7188458653978944932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_05_58_9325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8364ec5d0ca64ff96b03f179d4a038a.jpg","text":"TemporaryFile(/tmp/multipartBody670859164050944915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_06_08_10520.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c3548a2deb45d4042b822b9e237b62d.jpg","text":"TemporaryFile(/tmp/multipartBody6013695989814846683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_05_38_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d8cca40db33d822b92b336e39128f80.jpg","text":"TemporaryFile(/tmp/multipartBody5520765824777250785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449123660,"filename":"image_17082025_04_06_19_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682082","file1":"1377682079","file0":"1377682078","file4":"1377682086","file5":"1377682088","file3":"1377682084"},"map_files_photo_id_array":[{"photo_id":"1377682088","filename":"file5"},{"photo_id":"1377682082","filename":"file2"},{"photo_id":"1377682086","filename":"file4"},{"photo_id":"1377682079","filename":"file1"},{"photo_id":"1377682078","filename":"file0"},{"photo_id":"1377682084","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682079":["hashtag1","hashtag2"]},{"1377682088":["hashtag1","hashtag2"]},{"1377682082":["hashtag1","hashtag2"]},{"1377682084":["hashtag1","hashtag2"]},{"1377682078":["hashtag1","hashtag2"]},{"1377682086":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682079, 1377682088, 1377682082, 1377682084, 1377682078, 1377682086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4624662399292 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:45:21.853232
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/06/image_17082025_04_06_38_10369.jpg', '/media/data/images/17082025/04/06/image_17082025_04_06_49_10454.jpg', '/media/data/images/17082025/04/06/image_17082025_04_06_58_9113.jpg', '/media/data/images/17082025/04/06/image_17082025_04_07_08_10469.jpg', '/media/data/images/17082025/04/07/image_17082025_04_07_19_10358.jpg', '/media/data/images/17082025/04/07/image_17082025_04_07_38_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/06/image_17082025_04_06_38_10369.jpg
/media/data/images/17082025/04/06/image_17082025_04_06_49_10454.jpg
/media/data/images/17082025/04/06/image_17082025_04_06_58_9113.jpg
/media/data/images/17082025/04/06/image_17082025_04_07_08_10469.jpg
/media/data/images/17082025/04/07/image_17082025_04_07_19_10358.jpg
/media/data/images/17082025/04/07/image_17082025_04_07_38_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682098","1377682109","1377682100","1377682102","1377682111","1377682105"],"photo_ids_order":["1377682098","1377682100","1377682102","1377682105","1377682109","1377682111"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c72ea84f06c9e9d9c14b664751d776b.jpg","text":"TemporaryFile(/tmp/multipartBody5113902619219590947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_06_38_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e328991167bf79f36f30fd8869a89f7.jpg","text":"TemporaryFile(/tmp/multipartBody6356476761842387318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_07_19_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c2f85e7ab1e5efc4a2cc69e8cd714fa.jpg","text":"TemporaryFile(/tmp/multipartBody2116967299982259150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_06_49_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a56e7174673403a8ec4739503f0891b.jpg","text":"TemporaryFile(/tmp/multipartBody2258092993685381060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_06_58_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e5245e02cc94cfd7d46a79031769053.jpg","text":"TemporaryFile(/tmp/multipartBody2595432331994755789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_07_38_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4701076453d936021297e4ce2865333.jpg","text":"TemporaryFile(/tmp/multipartBody1105414523451759417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449182837,"filename":"image_17082025_04_07_08_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682102","file1":"1377682100","file0":"1377682098","file4":"1377682109","file5":"1377682111","file3":"1377682105"},"map_files_photo_id_array":[{"photo_id":"1377682111","filename":"file5"},{"photo_id":"1377682102","filename":"file2"},{"photo_id":"1377682109","filename":"file4"},{"photo_id":"1377682100","filename":"file1"},{"photo_id":"1377682098","filename":"file0"},{"photo_id":"1377682105","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682098":["hashtag1","hashtag2"]},{"1377682109":["hashtag1","hashtag2"]},{"1377682100":["hashtag1","hashtag2"]},{"1377682102":["hashtag1","hashtag2"]},{"1377682111":["hashtag1","hashtag2"]},{"1377682105":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682098, 1377682109, 1377682100, 1377682102, 1377682111, 1377682105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.054821252822876 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:46:21.992785
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/07/image_17082025_04_07_49_10440.jpg', '/media/data/images/17082025/04/07/image_17082025_04_07_58_9107.jpg', '/media/data/images/17082025/04/07/image_17082025_04_08_08_10572.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_18_9223.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_28_10356.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_38_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/07/image_17082025_04_07_49_10440.jpg
/media/data/images/17082025/04/07/image_17082025_04_07_58_9107.jpg
/media/data/images/17082025/04/07/image_17082025_04_08_08_10572.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_18_9223.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_28_10356.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_38_10342.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5289285182952881 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:46:41.982491
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/07/image_17082025_04_07_49_10440.jpg', '/media/data/images/17082025/04/07/image_17082025_04_07_58_9107.jpg', '/media/data/images/17082025/04/07/image_17082025_04_08_08_10572.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_18_9223.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_28_10356.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_38_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/07/image_17082025_04_07_49_10440.jpg
/media/data/images/17082025/04/07/image_17082025_04_07_58_9107.jpg
/media/data/images/17082025/04/07/image_17082025_04_08_08_10572.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_18_9223.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_28_10356.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_38_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682137","1377682134","1377682133","1377682132","1377682135","1377682129"],"photo_ids_order":["1377682129","1377682132","1377682133","1377682134","1377682135","1377682137"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3fe1a7af1857b29baea57e773822f549.jpg","text":"TemporaryFile(/tmp/multipartBody3263733977831975938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_08_38_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4043350c2f20ca72e3e57d710b5b4c80.jpg","text":"TemporaryFile(/tmp/multipartBody7637651194913432463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_08_18_9223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/477bae370522a466a8447c73eb435689.jpg","text":"TemporaryFile(/tmp/multipartBody4050176695350053728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_08_08_10572.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9975d3da516c13267fd48cff85f6c51f.jpg","text":"TemporaryFile(/tmp/multipartBody4159115790286166732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_07_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d08ca597ae416b87a1fd0b3dc9c6b602.jpg","text":"TemporaryFile(/tmp/multipartBody6869434724348107342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_08_28_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fd5911fb31d2f2bed4004e7311a4512.jpg","text":"TemporaryFile(/tmp/multipartBody4273479418458312104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449262893,"filename":"image_17082025_04_07_49_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682133","file1":"1377682132","file0":"1377682129","file4":"1377682135","file5":"1377682137","file3":"1377682134"},"map_files_photo_id_array":[{"photo_id":"1377682137","filename":"file5"},{"photo_id":"1377682133","filename":"file2"},{"photo_id":"1377682135","filename":"file4"},{"photo_id":"1377682132","filename":"file1"},{"photo_id":"1377682129","filename":"file0"},{"photo_id":"1377682134","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682137":["hashtag1","hashtag2"]},{"1377682134":["hashtag1","hashtag2"]},{"1377682133":["hashtag1","hashtag2"]},{"1377682132":["hashtag1","hashtag2"]},{"1377682135":["hashtag1","hashtag2"]},{"1377682129":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682137, 1377682134, 1377682133, 1377682132, 1377682135, 1377682129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89505577087402 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:47:42.119534
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/08/image_17082025_04_08_49_10335.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_58_9244.jpg', '/media/data/images/17082025/04/08/image_17082025_04_09_08_10366.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_19_10363.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_28_9476.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_38_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/08/image_17082025_04_08_49_10335.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_58_9244.jpg
/media/data/images/17082025/04/08/image_17082025_04_09_08_10366.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_19_10363.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_28_9476.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_38_10334.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5440194606781006 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:48:02.731801
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/08/image_17082025_04_08_49_10335.jpg', '/media/data/images/17082025/04/08/image_17082025_04_08_58_9244.jpg', '/media/data/images/17082025/04/08/image_17082025_04_09_08_10366.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_19_10363.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_28_9476.jpg', '/media/data/images/17082025/04/09/image_17082025_04_09_38_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/08/image_17082025_04_08_49_10335.jpg
/media/data/images/17082025/04/08/image_17082025_04_08_58_9244.jpg
/media/data/images/17082025/04/08/image_17082025_04_09_08_10366.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_19_10363.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_28_9476.jpg
/media/data/images/17082025/04/09/image_17082025_04_09_38_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682161","1377682170","1377682172","1377682175","1377682157","1377682173"],"photo_ids_order":["1377682157","1377682161","1377682170","1377682172","1377682173","1377682175"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05e045c896ae05e8fb8adc4b140ff3b3.jpg","text":"TemporaryFile(/tmp/multipartBody667012719353120264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_08_58_9244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aaba24de620b51eda13aa7f5546b8a53.jpg","text":"TemporaryFile(/tmp/multipartBody7922183894715938179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_09_08_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0066f561c30adc4a8dea91f16e3c7c1.jpg","text":"TemporaryFile(/tmp/multipartBody4942984132964881439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_09_19_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2708dc368f02c7200af7bf554ca8211.jpg","text":"TemporaryFile(/tmp/multipartBody852652229235376743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_09_38_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6438ef2643d6ec3041c9c67effa9f648.jpg","text":"TemporaryFile(/tmp/multipartBody1890520114512596152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_08_49_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb57a6957f4b2c43d8ff326bcb8cbf72.jpg","text":"TemporaryFile(/tmp/multipartBody3494093720255365573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449343635,"filename":"image_17082025_04_09_28_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682170","file1":"1377682161","file0":"1377682157","file4":"1377682173","file5":"1377682175","file3":"1377682172"},"map_files_photo_id_array":[{"photo_id":"1377682175","filename":"file5"},{"photo_id":"1377682170","filename":"file2"},{"photo_id":"1377682173","filename":"file4"},{"photo_id":"1377682161","filename":"file1"},{"photo_id":"1377682157","filename":"file0"},{"photo_id":"1377682172","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682161":["hashtag1","hashtag2"]},{"1377682170":["hashtag1","hashtag2"]},{"1377682172":["hashtag1","hashtag2"]},{"1377682175":["hashtag1","hashtag2"]},{"1377682157":["hashtag1","hashtag2"]},{"1377682173":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682161, 1377682170, 1377682172, 1377682175, 1377682157, 1377682173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.179524183273315 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:49:03.143332
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/09/image_17082025_04_09_49_10338.jpg', '/media/data/images/17082025/04/10/image_17082025_04_10_09_10553.jpg', '/media/data/images/17082025/04/10/image_17082025_04_10_18_9162.jpg', '/media/data/images/17082025/04/10/image_17082025_04_10_39_10426.jpg', '/media/data/images/17082025/04/10/image_17082025_04_10_58_10336.jpg', '/media/data/images/17082025/04/11/image_17082025_04_11_19_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/09/image_17082025_04_09_49_10338.jpg
/media/data/images/17082025/04/10/image_17082025_04_10_09_10553.jpg
/media/data/images/17082025/04/10/image_17082025_04_10_18_9162.jpg
/media/data/images/17082025/04/10/image_17082025_04_10_39_10426.jpg
/media/data/images/17082025/04/10/image_17082025_04_10_58_10336.jpg
/media/data/images/17082025/04/11/image_17082025_04_11_19_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682197","1377682203","1377682200","1377682187","1377682195","1377682188"],"photo_ids_order":["1377682187","1377682188","1377682195","1377682197","1377682200","1377682203"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d5df8c4d3d373e23f6d3e7907fad585.jpg","text":"TemporaryFile(/tmp/multipartBody5858823125025588335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_10_39_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ec08baacee323c996406bb305e61844.jpg","text":"TemporaryFile(/tmp/multipartBody4023884382829168587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_11_19_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b024b1389aaeacc3df355279e054722.jpg","text":"TemporaryFile(/tmp/multipartBody1142210432620164691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_10_58_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f927dddb0aa14e1b62a00967ec27632.jpg","text":"TemporaryFile(/tmp/multipartBody8362476147052911332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_09_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4832453eedeb56d9d861eedb0756e801.jpg","text":"TemporaryFile(/tmp/multipartBody6130242108792865472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_10_18_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32d1d726e04faa173339e698f23dbb22.jpg","text":"TemporaryFile(/tmp/multipartBody43942822194660415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449404110,"filename":"image_17082025_04_10_09_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682195","file1":"1377682188","file0":"1377682187","file4":"1377682200","file5":"1377682203","file3":"1377682197"},"map_files_photo_id_array":[{"photo_id":"1377682203","filename":"file5"},{"photo_id":"1377682195","filename":"file2"},{"photo_id":"1377682200","filename":"file4"},{"photo_id":"1377682188","filename":"file1"},{"photo_id":"1377682187","filename":"file0"},{"photo_id":"1377682197","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682197":["hashtag1","hashtag2"]},{"1377682203":["hashtag1","hashtag2"]},{"1377682200":["hashtag1","hashtag2"]},{"1377682187":["hashtag1","hashtag2"]},{"1377682195":["hashtag1","hashtag2"]},{"1377682188":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682197, 1377682203, 1377682200, 1377682187, 1377682195, 1377682188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9832980632782 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:50:02.922929
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/11/image_17082025_04_11_38_10333.jpg', '/media/data/images/17082025/04/11/image_17082025_04_11_49_10334.jpg', '/media/data/images/17082025/04/11/image_17082025_04_11_58_9192.jpg', '/media/data/images/17082025/04/11/image_17082025_04_12_08_10391.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_19_10445.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_28_9094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/11/image_17082025_04_11_38_10333.jpg
/media/data/images/17082025/04/11/image_17082025_04_11_49_10334.jpg
/media/data/images/17082025/04/11/image_17082025_04_11_58_9192.jpg
/media/data/images/17082025/04/11/image_17082025_04_12_08_10391.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_19_10445.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_28_9094.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5606226921081543 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:50:22.521066
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/11/image_17082025_04_11_38_10333.jpg', '/media/data/images/17082025/04/11/image_17082025_04_11_49_10334.jpg', '/media/data/images/17082025/04/11/image_17082025_04_11_58_9192.jpg', '/media/data/images/17082025/04/11/image_17082025_04_12_08_10391.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_19_10445.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_28_9094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/11/image_17082025_04_11_38_10333.jpg
/media/data/images/17082025/04/11/image_17082025_04_11_49_10334.jpg
/media/data/images/17082025/04/11/image_17082025_04_11_58_9192.jpg
/media/data/images/17082025/04/11/image_17082025_04_12_08_10391.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_19_10445.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_28_9094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682242","1377682245","1377682227","1377682232","1377682235","1377682238"],"photo_ids_order":["1377682227","1377682232","1377682235","1377682238","1377682242","1377682245"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c22705b1a9fdda991eda663ab205ad49.jpg","text":"TemporaryFile(/tmp/multipartBody1997434777323568577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_12_19_10445.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5bdc40c76e7d5231215b1b568a1c0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6243254982680431065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_12_28_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7f37979684527f027548b07e1ba40f6.jpg","text":"TemporaryFile(/tmp/multipartBody7838409673759418317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_11_38_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d92494f04c2adb775f85a1f331e4c26d.jpg","text":"TemporaryFile(/tmp/multipartBody437520999267959514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_11_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e06b32404d38bfcd8c56f0ac78dbff9.jpg","text":"TemporaryFile(/tmp/multipartBody8061014712665701453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_11_58_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58c887cf6e04e0f3ffdf0d5e99e7e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody9112086402872606828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449483432,"filename":"image_17082025_04_12_08_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682235","file1":"1377682232","file0":"1377682227","file4":"1377682242","file5":"1377682245","file3":"1377682238"},"map_files_photo_id_array":[{"photo_id":"1377682245","filename":"file5"},{"photo_id":"1377682235","filename":"file2"},{"photo_id":"1377682242","filename":"file4"},{"photo_id":"1377682232","filename":"file1"},{"photo_id":"1377682227","filename":"file0"},{"photo_id":"1377682238","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682242":["hashtag1","hashtag2"]},{"1377682245":["hashtag1","hashtag2"]},{"1377682227":["hashtag1","hashtag2"]},{"1377682232":["hashtag1","hashtag2"]},{"1377682235":["hashtag1","hashtag2"]},{"1377682238":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682242, 1377682245, 1377682227, 1377682232, 1377682235, 1377682238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.920329332351685 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:51:22.592961
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/12/image_17082025_04_12_38_10338.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_48_10335.jpg', '/media/data/images/17082025/04/12/image_17082025_04_12_59_10332.jpg', '/media/data/images/17082025/04/13/image_17082025_04_13_18_10341.jpg', '/media/data/images/17082025/04/13/image_17082025_04_13_38_9198.jpg', '/media/data/images/17082025/04/13/image_17082025_04_13_48_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/12/image_17082025_04_12_38_10338.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_48_10335.jpg
/media/data/images/17082025/04/12/image_17082025_04_12_59_10332.jpg
/media/data/images/17082025/04/13/image_17082025_04_13_18_10341.jpg
/media/data/images/17082025/04/13/image_17082025_04_13_38_9198.jpg
/media/data/images/17082025/04/13/image_17082025_04_13_48_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682265","1377682259","1377682268","1377682262","1377682270","1377682258"],"photo_ids_order":["1377682258","1377682259","1377682262","1377682265","1377682268","1377682270"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05cf0829d1f60f3ab8d255c1e8f0a67a.jpg","text":"TemporaryFile(/tmp/multipartBody3802690767751115329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_13_18_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0cbe87bb42c94f463fd3a62b81abb0d.jpg","text":"TemporaryFile(/tmp/multipartBody7771921840469762121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_12_48_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f521e467b48fd42f88d77e76ccf39080.jpg","text":"TemporaryFile(/tmp/multipartBody6280035058106690250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_13_38_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d58e749761c8f85d9f49b68e1aa6b414.jpg","text":"TemporaryFile(/tmp/multipartBody5877064660393157900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_12_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5cf3427f0943ec026b92d514ab3c9c27.jpg","text":"TemporaryFile(/tmp/multipartBody1084651487530303352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_13_48_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a5239fadd7b25c87aa20030432c1737.jpg","text":"TemporaryFile(/tmp/multipartBody8990245724434831292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449543582,"filename":"image_17082025_04_12_38_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682262","file1":"1377682259","file0":"1377682258","file4":"1377682268","file5":"1377682270","file3":"1377682265"},"map_files_photo_id_array":[{"photo_id":"1377682270","filename":"file5"},{"photo_id":"1377682262","filename":"file2"},{"photo_id":"1377682268","filename":"file4"},{"photo_id":"1377682259","filename":"file1"},{"photo_id":"1377682258","filename":"file0"},{"photo_id":"1377682265","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682265":["hashtag1","hashtag2"]},{"1377682259":["hashtag1","hashtag2"]},{"1377682268":["hashtag1","hashtag2"]},{"1377682262":["hashtag1","hashtag2"]},{"1377682270":["hashtag1","hashtag2"]},{"1377682258":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682265, 1377682259, 1377682268, 1377682262, 1377682270, 1377682258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.207449436187744 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:52:03.240161
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/13/image_17082025_04_13_59_10470.jpg', '/media/data/images/17082025/04/14/image_17082025_04_14_08_9017.jpg', '/media/data/images/17082025/04/14/image_17082025_04_14_18_10367.jpg', '/media/data/images/17082025/04/14/image_17082025_04_14_39_10336.jpg', '/media/data/images/17082025/04/14/image_17082025_04_14_48_9101.jpg', '/media/data/images/17082025/04/14/image_17082025_04_14_58_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/13/image_17082025_04_13_59_10470.jpg
/media/data/images/17082025/04/14/image_17082025_04_14_08_9017.jpg
/media/data/images/17082025/04/14/image_17082025_04_14_18_10367.jpg
/media/data/images/17082025/04/14/image_17082025_04_14_39_10336.jpg
/media/data/images/17082025/04/14/image_17082025_04_14_48_9101.jpg
/media/data/images/17082025/04/14/image_17082025_04_14_58_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682281","1377682275","1377682292","1377682288","1377682285","1377682290"],"photo_ids_order":["1377682275","1377682281","1377682285","1377682288","1377682290","1377682292"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/102fe475f909d03544a0184a03090d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4445242601916511600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_14_08_9017.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/170cd0e7c3b0abd8f2840ccf5f9680ac.jpg","text":"TemporaryFile(/tmp/multipartBody8530217791941600778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_13_59_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3117d2e8ea6b985c0ecac3508f1d231f.jpg","text":"TemporaryFile(/tmp/multipartBody100377342771881926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_14_58_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40d4a5698ea90f4df0506a3d633e4eac.jpg","text":"TemporaryFile(/tmp/multipartBody8001995791384755149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_14_39_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60beda3128513b412735dc7a4f02e87e.jpg","text":"TemporaryFile(/tmp/multipartBody4392992907717060273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_14_18_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37866524fb9b1e0e5e0cc6a0bf8f4c2f.jpg","text":"TemporaryFile(/tmp/multipartBody9215555709028326281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449584222,"filename":"image_17082025_04_14_48_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682285","file1":"1377682281","file0":"1377682275","file4":"1377682290","file5":"1377682292","file3":"1377682288"},"map_files_photo_id_array":[{"photo_id":"1377682292","filename":"file5"},{"photo_id":"1377682285","filename":"file2"},{"photo_id":"1377682290","filename":"file4"},{"photo_id":"1377682281","filename":"file1"},{"photo_id":"1377682275","filename":"file0"},{"photo_id":"1377682288","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682281":["hashtag1","hashtag2"]},{"1377682275":["hashtag1","hashtag2"]},{"1377682292":["hashtag1","hashtag2"]},{"1377682288":["hashtag1","hashtag2"]},{"1377682285":["hashtag1","hashtag2"]},{"1377682290":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682281, 1377682275, 1377682292, 1377682288, 1377682285, 1377682290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.509480476379395 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:53:02.435093
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/15/image_17082025_04_15_08_10231.jpg', '/media/data/images/17082025/04/15/image_17082025_04_15_19_10401.jpg', '/media/data/images/17082025/04/15/image_17082025_04_15_38_10414.jpg', '/media/data/images/17082025/04/15/image_17082025_04_15_49_10350.jpg', '/media/data/images/17082025/04/15/image_17082025_04_15_58_9155.jpg', '/media/data/images/17082025/04/15/image_17082025_04_16_08_10597.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/15/image_17082025_04_15_08_10231.jpg
/media/data/images/17082025/04/15/image_17082025_04_15_19_10401.jpg
/media/data/images/17082025/04/15/image_17082025_04_15_38_10414.jpg
/media/data/images/17082025/04/15/image_17082025_04_15_49_10350.jpg
/media/data/images/17082025/04/15/image_17082025_04_15_58_9155.jpg
/media/data/images/17082025/04/15/image_17082025_04_16_08_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682314","1377682298","1377682316","1377682301","1377682310","1377682312"],"photo_ids_order":["1377682298","1377682301","1377682310","1377682312","1377682314","1377682316"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09665bd44d54ade25a536bfa19e3d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody5587928153067139205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_15_58_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6cfd79ec86d4c3b8ae62681ab522ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody9111407073897687256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_15_08_10231.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12df97d3377e726b236bd77b2f711b46.jpg","text":"TemporaryFile(/tmp/multipartBody7825074904881670681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_16_08_10597.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5f4277b826a98d0f3995bf3a6a4d582.jpg","text":"TemporaryFile(/tmp/multipartBody2961584342924953451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_15_19_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6df0721dcb055e7947c07ffa1e0ab3b1.jpg","text":"TemporaryFile(/tmp/multipartBody2534064925283211413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_15_38_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/061adaa7a4579b490c1f856ab9a2fe6b.jpg","text":"TemporaryFile(/tmp/multipartBody8601156288079590946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449643414,"filename":"image_17082025_04_15_49_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682310","file1":"1377682301","file0":"1377682298","file4":"1377682314","file5":"1377682316","file3":"1377682312"},"map_files_photo_id_array":[{"photo_id":"1377682316","filename":"file5"},{"photo_id":"1377682310","filename":"file2"},{"photo_id":"1377682314","filename":"file4"},{"photo_id":"1377682301","filename":"file1"},{"photo_id":"1377682298","filename":"file0"},{"photo_id":"1377682312","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682314":["hashtag1","hashtag2"]},{"1377682298":["hashtag1","hashtag2"]},{"1377682316":["hashtag1","hashtag2"]},{"1377682301":["hashtag1","hashtag2"]},{"1377682310":["hashtag1","hashtag2"]},{"1377682312":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682314, 1377682298, 1377682316, 1377682301, 1377682310, 1377682312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98377823829651 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:54:02.360128
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/16/image_17082025_04_16_19_10349.jpg', '/media/data/images/17082025/04/16/image_17082025_04_16_28_9192.jpg', '/media/data/images/17082025/04/16/image_17082025_04_16_49_10432.jpg', '/media/data/images/17082025/04/16/image_17082025_04_16_58_9105.jpg', '/media/data/images/17082025/04/16/image_17082025_04_17_08_10553.jpg', '/media/data/images/17082025/04/17/image_17082025_04_17_19_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/16/image_17082025_04_16_19_10349.jpg
/media/data/images/17082025/04/16/image_17082025_04_16_28_9192.jpg
/media/data/images/17082025/04/16/image_17082025_04_16_49_10432.jpg
/media/data/images/17082025/04/16/image_17082025_04_16_58_9105.jpg
/media/data/images/17082025/04/16/image_17082025_04_17_08_10553.jpg
/media/data/images/17082025/04/17/image_17082025_04_17_19_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682341","1377682326","1377682343","1377682337","1377682339","1377682330"],"photo_ids_order":["1377682326","1377682330","1377682337","1377682339","1377682341","1377682343"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee66d14193bf352b22ffacb0e4d5ef23.jpg","text":"TemporaryFile(/tmp/multipartBody2689587319853998471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_17_08_10553.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b5e3e6422fc512af459b0ee29227a18.jpg","text":"TemporaryFile(/tmp/multipartBody2350970222365650194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_16_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88952458d4875e98c31a93ef3a65a52c.jpg","text":"TemporaryFile(/tmp/multipartBody3019647904956769066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_17_19_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad62fa62e95ac8d8d142c192d3f85cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2218544925241719938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_16_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/157ae88a1a26b7210e6780e3293b5d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5263092615380130672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_16_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10cfea8d309577c28e51ac5f8f198b83.jpg","text":"TemporaryFile(/tmp/multipartBody5193212549358161515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449703347,"filename":"image_17082025_04_16_28_9192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682337","file1":"1377682330","file0":"1377682326","file4":"1377682341","file5":"1377682343","file3":"1377682339"},"map_files_photo_id_array":[{"photo_id":"1377682343","filename":"file5"},{"photo_id":"1377682337","filename":"file2"},{"photo_id":"1377682341","filename":"file4"},{"photo_id":"1377682330","filename":"file1"},{"photo_id":"1377682326","filename":"file0"},{"photo_id":"1377682339","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682341":["hashtag1","hashtag2"]},{"1377682326":["hashtag1","hashtag2"]},{"1377682343":["hashtag1","hashtag2"]},{"1377682337":["hashtag1","hashtag2"]},{"1377682339":["hashtag1","hashtag2"]},{"1377682330":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682341, 1377682326, 1377682343, 1377682337, 1377682339, 1377682330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.576709270477295 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:55:02.725211
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/17/image_17082025_04_17_28_9099.jpg', '/media/data/images/17082025/04/17/image_17082025_04_17_38_10337.jpg', '/media/data/images/17082025/04/17/image_17082025_04_17_49_10339.jpg', '/media/data/images/17082025/04/17/image_17082025_04_17_58_9124.jpg', '/media/data/images/17082025/04/17/image_17082025_04_18_08_10658.jpg', '/media/data/images/17082025/04/18/image_17082025_04_18_19_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/17/image_17082025_04_17_28_9099.jpg
/media/data/images/17082025/04/17/image_17082025_04_17_38_10337.jpg
/media/data/images/17082025/04/17/image_17082025_04_17_49_10339.jpg
/media/data/images/17082025/04/17/image_17082025_04_17_58_9124.jpg
/media/data/images/17082025/04/17/image_17082025_04_18_08_10658.jpg
/media/data/images/17082025/04/18/image_17082025_04_18_19_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682353","1377682362","1377682364","1377682352","1377682360","1377682366"],"photo_ids_order":["1377682352","1377682353","1377682360","1377682362","1377682364","1377682366"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e4856ea176c73faf8caf29156e54a14.jpg","text":"TemporaryFile(/tmp/multipartBody4604255581827598512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_17_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/677d0534b03d968642ea3a4772cf0d9d.jpg","text":"TemporaryFile(/tmp/multipartBody5722933674203911662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_17_58_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e348b6d3e9c1abe844b6f44a9d91b503.jpg","text":"TemporaryFile(/tmp/multipartBody8677869833070394393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_18_08_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9936f6a0880c48e31c1eec6ec5ae977d.jpg","text":"TemporaryFile(/tmp/multipartBody3055562282167885550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_17_28_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01874084ba21d99a0bce0b01461fa904.jpg","text":"TemporaryFile(/tmp/multipartBody4744045946685997473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_17_49_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83f7670f5296c37c5dddfaf3e54f62ea.jpg","text":"TemporaryFile(/tmp/multipartBody905935833953445295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449763723,"filename":"image_17082025_04_18_19_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682360","file1":"1377682353","file0":"1377682352","file4":"1377682364","file5":"1377682366","file3":"1377682362"},"map_files_photo_id_array":[{"photo_id":"1377682366","filename":"file5"},{"photo_id":"1377682360","filename":"file2"},{"photo_id":"1377682364","filename":"file4"},{"photo_id":"1377682353","filename":"file1"},{"photo_id":"1377682352","filename":"file0"},{"photo_id":"1377682362","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682353":["hashtag1","hashtag2"]},{"1377682362":["hashtag1","hashtag2"]},{"1377682364":["hashtag1","hashtag2"]},{"1377682352":["hashtag1","hashtag2"]},{"1377682360":["hashtag1","hashtag2"]},{"1377682366":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682353, 1377682362, 1377682364, 1377682352, 1377682360, 1377682366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48152446746826 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:56:02.634030
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/18/image_17082025_04_18_28_9097.jpg', '/media/data/images/17082025/04/18/image_17082025_04_18_38_10386.jpg', '/media/data/images/17082025/04/18/image_17082025_04_18_49_10426.jpg', '/media/data/images/17082025/04/18/image_17082025_04_18_58_9116.jpg', '/media/data/images/17082025/04/18/image_17082025_04_19_08_10568.jpg', '/media/data/images/17082025/04/19/image_17082025_04_19_19_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/18/image_17082025_04_18_28_9097.jpg
/media/data/images/17082025/04/18/image_17082025_04_18_38_10386.jpg
/media/data/images/17082025/04/18/image_17082025_04_18_49_10426.jpg
/media/data/images/17082025/04/18/image_17082025_04_18_58_9116.jpg
/media/data/images/17082025/04/18/image_17082025_04_19_08_10568.jpg
/media/data/images/17082025/04/19/image_17082025_04_19_19_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682389","1377682374","1377682370","1377682383","1377682392","1377682386"],"photo_ids_order":["1377682370","1377682374","1377682383","1377682386","1377682389","1377682392"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2fd56cd56cc996c9aed9f09dbb6aa47b.jpg","text":"TemporaryFile(/tmp/multipartBody7012568552339785127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_19_08_10568.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a03dd74124e34d01cbf9b106b6a8410e.jpg","text":"TemporaryFile(/tmp/multipartBody6507172207887409438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_18_38_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd2b0b4832390edae0e2f9f11bb45396.jpg","text":"TemporaryFile(/tmp/multipartBody1514258912898913767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_18_28_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5639516fbcb21c04bee4de44a6568c0.jpg","text":"TemporaryFile(/tmp/multipartBody930801708859028119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_18_49_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9695f115c59f76e876904e2ff6cfa49f.jpg","text":"TemporaryFile(/tmp/multipartBody5991226280629150918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_19_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e5cf6614aa7b654150f364740034f32.jpg","text":"TemporaryFile(/tmp/multipartBody2118170087758728340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449823621,"filename":"image_17082025_04_18_58_9116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682383","file1":"1377682374","file0":"1377682370","file4":"1377682389","file5":"1377682392","file3":"1377682386"},"map_files_photo_id_array":[{"photo_id":"1377682392","filename":"file5"},{"photo_id":"1377682383","filename":"file2"},{"photo_id":"1377682389","filename":"file4"},{"photo_id":"1377682374","filename":"file1"},{"photo_id":"1377682370","filename":"file0"},{"photo_id":"1377682386","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682389":["hashtag1","hashtag2"]},{"1377682374":["hashtag1","hashtag2"]},{"1377682370":["hashtag1","hashtag2"]},{"1377682383":["hashtag1","hashtag2"]},{"1377682392":["hashtag1","hashtag2"]},{"1377682386":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682389, 1377682374, 1377682370, 1377682383, 1377682392, 1377682386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.450857639312744 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:57:02.686807
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/19/image_17082025_04_19_28_9109.jpg', '/media/data/images/17082025/04/19/image_17082025_04_19_38_10348.jpg', '/media/data/images/17082025/04/19/image_17082025_04_19_49_10415.jpg', '/media/data/images/17082025/04/19/image_17082025_04_19_58_9102.jpg', '/media/data/images/17082025/04/20/image_17082025_04_20_18_10368.jpg', '/media/data/images/17082025/04/20/image_17082025_04_20_28_9163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/19/image_17082025_04_19_28_9109.jpg
/media/data/images/17082025/04/19/image_17082025_04_19_38_10348.jpg
/media/data/images/17082025/04/19/image_17082025_04_19_49_10415.jpg
/media/data/images/17082025/04/19/image_17082025_04_19_58_9102.jpg
/media/data/images/17082025/04/20/image_17082025_04_20_18_10368.jpg
/media/data/images/17082025/04/20/image_17082025_04_20_28_9163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682401","1377682413","1377682412","1377682403","1377682411","1377682414"],"photo_ids_order":["1377682401","1377682403","1377682411","1377682412","1377682413","1377682414"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1dbfaf103d6d6f3eb0015493577901e4.jpg","text":"TemporaryFile(/tmp/multipartBody8117554507085944567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_19_28_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5a705bc25d0c1b61e950ef4eec774e0.jpg","text":"TemporaryFile(/tmp/multipartBody8045121521530254233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_20_18_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93948bdac37aa62b7a7c1fd22814eae6.jpg","text":"TemporaryFile(/tmp/multipartBody5547399150523221403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_19_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/161b32b32352890cad09e1273f9c5117.jpg","text":"TemporaryFile(/tmp/multipartBody7106464383099097717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_19_38_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66608e82bb96e350320843edf6ac8066.jpg","text":"TemporaryFile(/tmp/multipartBody57385558620466848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_19_49_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9ead17bd4558b8f30b10fb6327be576.jpg","text":"TemporaryFile(/tmp/multipartBody2450696859369402653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449883826,"filename":"image_17082025_04_20_28_9163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682411","file1":"1377682403","file0":"1377682401","file4":"1377682413","file5":"1377682414","file3":"1377682412"},"map_files_photo_id_array":[{"photo_id":"1377682414","filename":"file5"},{"photo_id":"1377682411","filename":"file2"},{"photo_id":"1377682413","filename":"file4"},{"photo_id":"1377682403","filename":"file1"},{"photo_id":"1377682401","filename":"file0"},{"photo_id":"1377682412","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377682401":["hashtag1","hashtag2"]},{"1377682413":["hashtag1","hashtag2"]},{"1377682412":["hashtag1","hashtag2"]},{"1377682403":["hashtag1","hashtag2"]},{"1377682411":["hashtag1","hashtag2"]},{"1377682414":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377682401, 1377682413, 1377682412, 1377682403, 1377682411, 1377682414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.177186489105225 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 18:59:03.183683
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/20/image_17082025_04_20_38_10355.jpg', '/media/data/images/17082025/04/20/image_17082025_04_20_48_10384.jpg', '/media/data/images/17082025/04/20/image_17082025_04_20_59_10421.jpg', '/media/data/images/17082025/04/21/image_17082025_04_21_29_10427.jpg', '/media/data/images/17082025/04/21/image_17082025_04_21_38_9115.jpg', '/media/data/images/17082025/04/22/image_17082025_04_22_08_9217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/20/image_17082025_04_20_38_10355.jpg
/media/data/images/17082025/04/20/image_17082025_04_20_48_10384.jpg
/media/data/images/17082025/04/20/image_17082025_04_20_59_10421.jpg
/media/data/images/17082025/04/21/image_17082025_04_21_29_10427.jpg
/media/data/images/17082025/04/21/image_17082025_04_21_38_9115.jpg
/media/data/images/17082025/04/22/image_17082025_04_22_08_9217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377683477","1377683275","1377683632","1377683341","1377683410","1377683544"],"photo_ids_order":["1377683275","1377683341","1377683410","1377683477","1377683544","1377683632"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b2fbd228b45b537ff1f8f3567187ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1246478636053842048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_21_29_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8767a70ca71cbc3d825cb0c28ad74939.jpg","text":"TemporaryFile(/tmp/multipartBody5044983764611923153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_20_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c899b36d8f63e53c3d098bdb4735e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3556786582095966132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_22_08_9217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e3a805c6bbc283da00206dac5de44e74.jpg","text":"TemporaryFile(/tmp/multipartBody5262259677267545883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_20_48_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6b57d66a7e3947808848ec5b3a4c10b.jpg","text":"TemporaryFile(/tmp/multipartBody8914381106537727672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_20_59_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4181b6cda4eb6423a322441304ef0d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7145967897706620877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450004167,"filename":"image_17082025_04_21_38_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377683410","file1":"1377683341","file0":"1377683275","file4":"1377683544","file5":"1377683632","file3":"1377683477"},"map_files_photo_id_array":[{"photo_id":"1377683632","filename":"file5"},{"photo_id":"1377683410","filename":"file2"},{"photo_id":"1377683544","filename":"file4"},{"photo_id":"1377683341","filename":"file1"},{"photo_id":"1377683275","filename":"file0"},{"photo_id":"1377683477","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377683477":["hashtag1","hashtag2"]},{"1377683275":["hashtag1","hashtag2"]},{"1377683632":["hashtag1","hashtag2"]},{"1377683341":["hashtag1","hashtag2"]},{"1377683410":["hashtag1","hashtag2"]},{"1377683544":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377683477, 1377683275, 1377683632, 1377683341, 1377683410, 1377683544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86786150932312 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:00:03.013406
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/22/image_17082025_04_22_18_10391.jpg', '/media/data/images/17082025/04/22/image_17082025_04_22_38_10368.jpg', '/media/data/images/17082025/04/22/image_17082025_04_22_48_10432.jpg', '/media/data/images/17082025/04/22/image_17082025_04_22_59_10344.jpg', '/media/data/images/17082025/04/23/image_17082025_04_23_18_10342.jpg', '/media/data/images/17082025/04/23/image_17082025_04_23_29_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/22/image_17082025_04_22_18_10391.jpg
/media/data/images/17082025/04/22/image_17082025_04_22_38_10368.jpg
/media/data/images/17082025/04/22/image_17082025_04_22_48_10432.jpg
/media/data/images/17082025/04/22/image_17082025_04_22_59_10344.jpg
/media/data/images/17082025/04/23/image_17082025_04_23_18_10342.jpg
/media/data/images/17082025/04/23/image_17082025_04_23_29_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377684044","1377684230","1377684163","1377684096","1377684363","1377684296"],"photo_ids_order":["1377684044","1377684096","1377684163","1377684230","1377684296","1377684363"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a4648e8a5ab14178d53dd178dffaa91.jpg","text":"TemporaryFile(/tmp/multipartBody3737934470406878844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_22_18_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3eae64c0e39e9991f5176655c20a40a6.jpg","text":"TemporaryFile(/tmp/multipartBody6414054401307306979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_22_59_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a7af4e548bfd7da47d4d31da04a40c2.jpg","text":"TemporaryFile(/tmp/multipartBody3689296364874644944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_22_48_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aaba7ca84cd2f99b32f0efccd9a571c1.jpg","text":"TemporaryFile(/tmp/multipartBody7570669850684793303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_22_38_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ae56c03fb6a6ba0a4ceee1528f79a44.jpg","text":"TemporaryFile(/tmp/multipartBody4640434899133773912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_23_29_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc6234f4f799dab0a4bdb9e78320d715.jpg","text":"TemporaryFile(/tmp/multipartBody5757582430943864454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450063961,"filename":"image_17082025_04_23_18_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684163","file1":"1377684096","file0":"1377684044","file4":"1377684296","file5":"1377684363","file3":"1377684230"},"map_files_photo_id_array":[{"photo_id":"1377684363","filename":"file5"},{"photo_id":"1377684163","filename":"file2"},{"photo_id":"1377684296","filename":"file4"},{"photo_id":"1377684096","filename":"file1"},{"photo_id":"1377684044","filename":"file0"},{"photo_id":"1377684230","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377684044":["hashtag1","hashtag2"]},{"1377684230":["hashtag1","hashtag2"]},{"1377684163":["hashtag1","hashtag2"]},{"1377684096":["hashtag1","hashtag2"]},{"1377684363":["hashtag1","hashtag2"]},{"1377684296":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377684044, 1377684230, 1377684163, 1377684096, 1377684363, 1377684296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57417321205139 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:01:03.224216
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/23/image_17082025_04_23_38_9156.jpg', '/media/data/images/17082025/04/23/image_17082025_04_23_48_10334.jpg', '/media/data/images/17082025/04/23/image_17082025_04_23_59_10345.jpg', '/media/data/images/17082025/04/24/image_17082025_04_24_08_9124.jpg', '/media/data/images/17082025/04/24/image_17082025_04_24_18_10347.jpg', '/media/data/images/17082025/04/24/image_17082025_04_24_28_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/23/image_17082025_04_23_38_9156.jpg
/media/data/images/17082025/04/23/image_17082025_04_23_48_10334.jpg
/media/data/images/17082025/04/23/image_17082025_04_23_59_10345.jpg
/media/data/images/17082025/04/24/image_17082025_04_24_08_9124.jpg
/media/data/images/17082025/04/24/image_17082025_04_24_18_10347.jpg
/media/data/images/17082025/04/24/image_17082025_04_24_28_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377684851","1377684824","1377684859","1377684853","1377684856","1377684782"],"photo_ids_order":["1377684782","1377684824","1377684851","1377684853","1377684856","1377684859"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0d4aecc8c38b82b322ef4ead34c61b5.jpg","text":"TemporaryFile(/tmp/multipartBody253384121461897393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_23_59_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1cfbce61ac56726aa693aed60448cdc.jpg","text":"TemporaryFile(/tmp/multipartBody2387719304651028482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_23_48_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4416db3fbd8bb8e2ab6b2708789efdf9.jpg","text":"TemporaryFile(/tmp/multipartBody8360215716321305333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_24_28_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d82bf4bcec4094285b2131ded688a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody5262419392845672545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_24_08_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/497707549593190a5d6c85ac2ec98346.jpg","text":"TemporaryFile(/tmp/multipartBody2193214335537194581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_24_18_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/827b2abbaf111f0dc42deabcc9dc2f64.jpg","text":"TemporaryFile(/tmp/multipartBody8801676456461614964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450124193,"filename":"image_17082025_04_23_38_9156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684851","file1":"1377684824","file0":"1377684782","file4":"1377684856","file5":"1377684859","file3":"1377684853"},"map_files_photo_id_array":[{"photo_id":"1377684859","filename":"file5"},{"photo_id":"1377684851","filename":"file2"},{"photo_id":"1377684856","filename":"file4"},{"photo_id":"1377684824","filename":"file1"},{"photo_id":"1377684782","filename":"file0"},{"photo_id":"1377684853","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377684851":["hashtag1","hashtag2"]},{"1377684824":["hashtag1","hashtag2"]},{"1377684859":["hashtag1","hashtag2"]},{"1377684853":["hashtag1","hashtag2"]},{"1377684856":["hashtag1","hashtag2"]},{"1377684782":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377684851, 1377684824, 1377684859, 1377684853, 1377684856, 1377684782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4355993270874 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:02:03.143793
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/24/image_17082025_04_24_39_10430.jpg', '/media/data/images/17082025/04/24/image_17082025_04_24_48_9109.jpg', '/media/data/images/17082025/04/25/image_17082025_04_25_08_10173.jpg', '/media/data/images/17082025/04/25/image_17082025_04_25_18_9198.jpg', '/media/data/images/17082025/04/25/image_17082025_04_25_28_10347.jpg', '/media/data/images/17082025/04/25/image_17082025_04_25_58_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/24/image_17082025_04_24_39_10430.jpg
/media/data/images/17082025/04/24/image_17082025_04_24_48_9109.jpg
/media/data/images/17082025/04/25/image_17082025_04_25_08_10173.jpg
/media/data/images/17082025/04/25/image_17082025_04_25_18_9198.jpg
/media/data/images/17082025/04/25/image_17082025_04_25_28_10347.jpg
/media/data/images/17082025/04/25/image_17082025_04_25_58_9105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685063","1377684994","1377684958","1377684886","1377684922","1377685028"],"photo_ids_order":["1377684886","1377684922","1377684958","1377684994","1377685028","1377685063"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3be105f7994c3c5882dd1a35c2eb0e38.jpg","text":"TemporaryFile(/tmp/multipartBody6496309606679170881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_25_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0c51aa0ebbcbb8d302b1c99c006c147.jpg","text":"TemporaryFile(/tmp/multipartBody6866187407266360920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_25_18_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cbd3dbefee9e5fe1f766b053e5d76e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6765295280946680334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_25_08_10173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7aa319962757bc75dabbfcb1c1257f6.jpg","text":"TemporaryFile(/tmp/multipartBody3490311429443382067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_24_39_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fae718172a7271e7fbfe132b48bbcd24.jpg","text":"TemporaryFile(/tmp/multipartBody2503177742695332017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_24_48_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/27fce59149111fb9ab8aeef309deedc7.jpg","text":"TemporaryFile(/tmp/multipartBody7455592795264451370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184120,"filename":"image_17082025_04_25_28_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684958","file1":"1377684922","file0":"1377684886","file4":"1377685028","file5":"1377685063","file3":"1377684994"},"map_files_photo_id_array":[{"photo_id":"1377685063","filename":"file5"},{"photo_id":"1377684958","filename":"file2"},{"photo_id":"1377685028","filename":"file4"},{"photo_id":"1377684922","filename":"file1"},{"photo_id":"1377684886","filename":"file0"},{"photo_id":"1377684994","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685063":["hashtag1","hashtag2"]},{"1377684994":["hashtag1","hashtag2"]},{"1377684958":["hashtag1","hashtag2"]},{"1377684886":["hashtag1","hashtag2"]},{"1377684922":["hashtag1","hashtag2"]},{"1377685028":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685063, 1377684994, 1377684958, 1377684886, 1377684922, 1377685028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.351027488708496 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:03:02.615223
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/25/image_17082025_04_26_09_10634.jpg', '/media/data/images/17082025/04/26/image_17082025_04_26_28_10373.jpg', '/media/data/images/17082025/04/26/image_17082025_04_26_39_10414.jpg', '/media/data/images/17082025/04/26/image_17082025_04_26_48_9246.jpg', '/media/data/images/17082025/04/26/image_17082025_04_26_58_10418.jpg', '/media/data/images/17082025/04/27/image_17082025_04_27_08_10188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/25/image_17082025_04_26_09_10634.jpg
/media/data/images/17082025/04/26/image_17082025_04_26_28_10373.jpg
/media/data/images/17082025/04/26/image_17082025_04_26_39_10414.jpg
/media/data/images/17082025/04/26/image_17082025_04_26_48_9246.jpg
/media/data/images/17082025/04/26/image_17082025_04_26_58_10418.jpg
/media/data/images/17082025/04/27/image_17082025_04_27_08_10188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685186","1377685205","1377685207","1377685194","1377685203","1377685208"],"photo_ids_order":["1377685186","1377685194","1377685203","1377685205","1377685207","1377685208"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/144bc8ceac345e9638b506a404db0a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6728800779135156753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_26_09_10634.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/64cd5b515733218f173eb7e7590fe4da.jpg","text":"TemporaryFile(/tmp/multipartBody1610462418180863900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_26_48_9246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/346bbb4c95bbc4b3fa8439e3a9ec7976.jpg","text":"TemporaryFile(/tmp/multipartBody957736846875837548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_26_58_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a4038c8ed0b07de3ed001d9b0b13757.jpg","text":"TemporaryFile(/tmp/multipartBody8977878301562419113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_26_28_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af2250fb407a88371c7c07ffec203931.jpg","text":"TemporaryFile(/tmp/multipartBody5395436089658252633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_26_39_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b25c6836d2e4c494c7181856b701382.jpg","text":"TemporaryFile(/tmp/multipartBody7741352780278566404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450243587,"filename":"image_17082025_04_27_08_10188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685203","file1":"1377685194","file0":"1377685186","file4":"1377685207","file5":"1377685208","file3":"1377685205"},"map_files_photo_id_array":[{"photo_id":"1377685208","filename":"file5"},{"photo_id":"1377685203","filename":"file2"},{"photo_id":"1377685207","filename":"file4"},{"photo_id":"1377685194","filename":"file1"},{"photo_id":"1377685186","filename":"file0"},{"photo_id":"1377685205","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685186":["hashtag1","hashtag2"]},{"1377685205":["hashtag1","hashtag2"]},{"1377685207":["hashtag1","hashtag2"]},{"1377685194":["hashtag1","hashtag2"]},{"1377685203":["hashtag1","hashtag2"]},{"1377685208":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685186, 1377685205, 1377685207, 1377685194, 1377685203, 1377685208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03466534614563 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:04:02.543802
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/27/image_17082025_04_27_19_10388.jpg', '/media/data/images/17082025/04/27/image_17082025_04_27_49_10372.jpg', '/media/data/images/17082025/04/27/image_17082025_04_27_58_9252.jpg', '/media/data/images/17082025/04/27/image_17082025_04_28_08_10390.jpg', '/media/data/images/17082025/04/28/image_17082025_04_28_19_10422.jpg', '/media/data/images/17082025/04/28/image_17082025_04_28_28_9125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/27/image_17082025_04_27_19_10388.jpg
/media/data/images/17082025/04/27/image_17082025_04_27_49_10372.jpg
/media/data/images/17082025/04/27/image_17082025_04_27_58_9252.jpg
/media/data/images/17082025/04/27/image_17082025_04_28_08_10390.jpg
/media/data/images/17082025/04/28/image_17082025_04_28_19_10422.jpg
/media/data/images/17082025/04/28/image_17082025_04_28_28_9125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685231","1377685219","1377685233","1377685236","1377685221","1377685229"],"photo_ids_order":["1377685219","1377685221","1377685229","1377685231","1377685233","1377685236"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/640574aa7e8e5d57f41dfa6e8e00c960.jpg","text":"TemporaryFile(/tmp/multipartBody3520186031178860934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_28_08_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3dfe623690c93edda28ba4d89b18dd72.jpg","text":"TemporaryFile(/tmp/multipartBody7082424377605862951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_27_19_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0299d3eb62b30387da6916252c218746.jpg","text":"TemporaryFile(/tmp/multipartBody1974071153927473806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_28_19_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecd0c0c0efa2118566cc09a478f59583.jpg","text":"TemporaryFile(/tmp/multipartBody148879527671096723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_28_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25030de5fdc6c361b783fba4c2d4793f.jpg","text":"TemporaryFile(/tmp/multipartBody4202373995489326883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_27_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5766d69dc1ce3b84ace568fe8e099a79.jpg","text":"TemporaryFile(/tmp/multipartBody6855149454691034323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450303512,"filename":"image_17082025_04_27_58_9252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685229","file1":"1377685221","file0":"1377685219","file4":"1377685233","file5":"1377685236","file3":"1377685231"},"map_files_photo_id_array":[{"photo_id":"1377685236","filename":"file5"},{"photo_id":"1377685229","filename":"file2"},{"photo_id":"1377685233","filename":"file4"},{"photo_id":"1377685221","filename":"file1"},{"photo_id":"1377685219","filename":"file0"},{"photo_id":"1377685231","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685231":["hashtag1","hashtag2"]},{"1377685219":["hashtag1","hashtag2"]},{"1377685233":["hashtag1","hashtag2"]},{"1377685236":["hashtag1","hashtag2"]},{"1377685221":["hashtag1","hashtag2"]},{"1377685229":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685231, 1377685219, 1377685233, 1377685236, 1377685221, 1377685229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42139458656311 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:05:02.603362
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/28/image_17082025_04_28_38_10337.jpg', '/media/data/images/17082025/04/28/image_17082025_04_28_58_9103.jpg', '/media/data/images/17082025/04/28/image_17082025_04_29_08_10422.jpg', '/media/data/images/17082025/04/29/image_17082025_04_29_19_10490.jpg', '/media/data/images/17082025/04/29/image_17082025_04_29_58_9132.jpg', '/media/data/images/17082025/04/29/image_17082025_04_30_08_10532.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/28/image_17082025_04_28_38_10337.jpg
/media/data/images/17082025/04/28/image_17082025_04_28_58_9103.jpg
/media/data/images/17082025/04/28/image_17082025_04_29_08_10422.jpg
/media/data/images/17082025/04/29/image_17082025_04_29_19_10490.jpg
/media/data/images/17082025/04/29/image_17082025_04_29_58_9132.jpg
/media/data/images/17082025/04/29/image_17082025_04_30_08_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685261","1377685255","1377685257","1377685259","1377685244","1377685247"],"photo_ids_order":["1377685244","1377685247","1377685255","1377685257","1377685259","1377685261"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab136d30ead43588918d55be2a172971.jpg","text":"TemporaryFile(/tmp/multipartBody1777705955943095812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_30_08_10532.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa541a41b97a904fc0e6bd44c6f03889.jpg","text":"TemporaryFile(/tmp/multipartBody5333762403474266796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_29_08_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9db9dbc2f1457da5118e3b1c13ca259.jpg","text":"TemporaryFile(/tmp/multipartBody3465791985981531821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_29_19_10490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/452db5387b2e153bd8d2e7ac67efb0df.jpg","text":"TemporaryFile(/tmp/multipartBody5134054402503952710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_29_58_9132.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12ec3c56cda3776e4834706b429580ce.jpg","text":"TemporaryFile(/tmp/multipartBody4823576791830147907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_28_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/711f0e5f4dee4afa38c58b0552191eda.jpg","text":"TemporaryFile(/tmp/multipartBody2545875993077039130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450363587,"filename":"image_17082025_04_28_58_9103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685255","file1":"1377685247","file0":"1377685244","file4":"1377685259","file5":"1377685261","file3":"1377685257"},"map_files_photo_id_array":[{"photo_id":"1377685261","filename":"file5"},{"photo_id":"1377685255","filename":"file2"},{"photo_id":"1377685259","filename":"file4"},{"photo_id":"1377685247","filename":"file1"},{"photo_id":"1377685244","filename":"file0"},{"photo_id":"1377685257","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685261":["hashtag1","hashtag2"]},{"1377685255":["hashtag1","hashtag2"]},{"1377685257":["hashtag1","hashtag2"]},{"1377685259":["hashtag1","hashtag2"]},{"1377685244":["hashtag1","hashtag2"]},{"1377685247":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685261, 1377685255, 1377685257, 1377685259, 1377685244, 1377685247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7130970954895 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:06:02.621120
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/30/image_17082025_04_30_19_10362.jpg', '/media/data/images/17082025/04/30/image_17082025_04_30_28_9182.jpg', '/media/data/images/17082025/04/30/image_17082025_04_30_38_10358.jpg', '/media/data/images/17082025/04/30/image_17082025_04_30_48_10342.jpg', '/media/data/images/17082025/04/31/image_17082025_04_31_18_9421.jpg', '/media/data/images/17082025/04/31/image_17082025_04_31_28_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/30/image_17082025_04_30_19_10362.jpg
/media/data/images/17082025/04/30/image_17082025_04_30_28_9182.jpg
/media/data/images/17082025/04/30/image_17082025_04_30_38_10358.jpg
/media/data/images/17082025/04/30/image_17082025_04_30_48_10342.jpg
/media/data/images/17082025/04/31/image_17082025_04_31_18_9421.jpg
/media/data/images/17082025/04/31/image_17082025_04_31_28_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685267","1377685276","1377685278","1377685280","1377685277","1377685265"],"photo_ids_order":["1377685265","1377685267","1377685276","1377685277","1377685278","1377685280"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ce765b9597c9f64123833bcf3d0897d.jpg","text":"TemporaryFile(/tmp/multipartBody3469089569910215667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_30_28_9182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5fe07e1f3f819e5af667ba62ec5a04b5.jpg","text":"TemporaryFile(/tmp/multipartBody5548090318316054428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_30_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03f2d26bbf790d1db06816e47ad0663f.jpg","text":"TemporaryFile(/tmp/multipartBody8512641013432727013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_31_18_9421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d6b38af59c3efdefc145daa8288c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody5564189332197388487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_31_28_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08de253da391f89f9b95e56d3a74b331.jpg","text":"TemporaryFile(/tmp/multipartBody2914060361330468198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_30_48_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18b1cecf4ff11864d65430ca5a9b116d.jpg","text":"TemporaryFile(/tmp/multipartBody6017580425290425771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450423599,"filename":"image_17082025_04_30_19_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685276","file1":"1377685267","file0":"1377685265","file4":"1377685278","file5":"1377685280","file3":"1377685277"},"map_files_photo_id_array":[{"photo_id":"1377685280","filename":"file5"},{"photo_id":"1377685276","filename":"file2"},{"photo_id":"1377685278","filename":"file4"},{"photo_id":"1377685267","filename":"file1"},{"photo_id":"1377685265","filename":"file0"},{"photo_id":"1377685277","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685267":["hashtag1","hashtag2"]},{"1377685276":["hashtag1","hashtag2"]},{"1377685278":["hashtag1","hashtag2"]},{"1377685280":["hashtag1","hashtag2"]},{"1377685277":["hashtag1","hashtag2"]},{"1377685265":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685267, 1377685276, 1377685278, 1377685280, 1377685277, 1377685265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69083023071289 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:07:02.869104
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/31/image_17082025_04_31_39_10505.jpg', '/media/data/images/17082025/04/31/image_17082025_04_31_48_9099.jpg', '/media/data/images/17082025/04/31/image_17082025_04_31_58_10344.jpg', '/media/data/images/17082025/04/31/image_17082025_04_32_08_10467.jpg', '/media/data/images/17082025/04/32/image_17082025_04_32_18_9213.jpg', '/media/data/images/17082025/04/32/image_17082025_04_32_28_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/31/image_17082025_04_31_39_10505.jpg
/media/data/images/17082025/04/31/image_17082025_04_31_48_9099.jpg
/media/data/images/17082025/04/31/image_17082025_04_31_58_10344.jpg
/media/data/images/17082025/04/31/image_17082025_04_32_08_10467.jpg
/media/data/images/17082025/04/32/image_17082025_04_32_18_9213.jpg
/media/data/images/17082025/04/32/image_17082025_04_32_28_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685291","1377685304","1377685306","1377685300","1377685299","1377685302"],"photo_ids_order":["1377685291","1377685299","1377685300","1377685302","1377685304","1377685306"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78992da149260f408ed5b657cce9e566.jpg","text":"TemporaryFile(/tmp/multipartBody8253957514011375362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_31_39_10505.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/02d8f9006b18edf44ccc9655bd74b42d.jpg","text":"TemporaryFile(/tmp/multipartBody4962713307143905604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_32_18_9213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3badd80029711ebe1fc9d2bf2a8ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody2038980745805151928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_32_28_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7e3c99d35d8750733fc548a8587bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody2029039780156198236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_31_58_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2656fb34352a5d5ccc2331ad81580118.jpg","text":"TemporaryFile(/tmp/multipartBody6283941538408176793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_31_48_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05f8a0d96758cdcd599f547686cbd16d.jpg","text":"TemporaryFile(/tmp/multipartBody953168042373488858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450485490,"filename":"image_17082025_04_32_08_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685300","file1":"1377685299","file0":"1377685291","file4":"1377685304","file5":"1377685306","file3":"1377685302"},"map_files_photo_id_array":[{"photo_id":"1377685306","filename":"file5"},{"photo_id":"1377685300","filename":"file2"},{"photo_id":"1377685304","filename":"file4"},{"photo_id":"1377685299","filename":"file1"},{"photo_id":"1377685291","filename":"file0"},{"photo_id":"1377685302","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685291":["hashtag1","hashtag2"]},{"1377685304":["hashtag1","hashtag2"]},{"1377685306":["hashtag1","hashtag2"]},{"1377685300":["hashtag1","hashtag2"]},{"1377685299":["hashtag1","hashtag2"]},{"1377685302":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685291, 1377685304, 1377685306, 1377685300, 1377685299, 1377685302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.254188537597656 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:08:02.787635
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/32/image_17082025_04_32_38_10399.jpg', '/media/data/images/17082025/04/32/image_17082025_04_32_48_9110.jpg', '/media/data/images/17082025/04/32/image_17082025_04_32_58_10465.jpg', '/media/data/images/17082025/04/33/image_17082025_04_33_08_10188.jpg', '/media/data/images/17082025/04/33/image_17082025_04_33_28_9211.jpg', '/media/data/images/17082025/04/33/image_17082025_04_33_38_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/32/image_17082025_04_32_38_10399.jpg
/media/data/images/17082025/04/32/image_17082025_04_32_48_9110.jpg
/media/data/images/17082025/04/32/image_17082025_04_32_58_10465.jpg
/media/data/images/17082025/04/33/image_17082025_04_33_08_10188.jpg
/media/data/images/17082025/04/33/image_17082025_04_33_28_9211.jpg
/media/data/images/17082025/04/33/image_17082025_04_33_38_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685321","1377685330","1377685324","1377685312","1377685326","1377685328"],"photo_ids_order":["1377685312","1377685321","1377685324","1377685326","1377685328","1377685330"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/028b7f6c20f84cdb3a4e0bef5932a767.jpg","text":"TemporaryFile(/tmp/multipartBody2081195516033874291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_32_48_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea9e62be6c8b5e2effac951a827b4551.jpg","text":"TemporaryFile(/tmp/multipartBody2386438837926552079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_33_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/569d79a8f81a1eee93ca6bbe32f38bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8633754883478681814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_32_58_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e261cfa0335e6176fb1ce60ad34a929.jpg","text":"TemporaryFile(/tmp/multipartBody2030709203679822515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_32_38_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6503b7eb98b307f7987e09d54624be8c.jpg","text":"TemporaryFile(/tmp/multipartBody6056853310859714656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_33_08_10188.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52b21e032f6ea6fe29bd965170000a7a.jpg","text":"TemporaryFile(/tmp/multipartBody9143991716039122608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450546932,"filename":"image_17082025_04_33_28_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685324","file1":"1377685321","file0":"1377685312","file4":"1377685328","file5":"1377685330","file3":"1377685326"},"map_files_photo_id_array":[{"photo_id":"1377685330","filename":"file5"},{"photo_id":"1377685324","filename":"file2"},{"photo_id":"1377685328","filename":"file4"},{"photo_id":"1377685321","filename":"file1"},{"photo_id":"1377685312","filename":"file0"},{"photo_id":"1377685326","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685321":["hashtag1","hashtag2"]},{"1377685330":["hashtag1","hashtag2"]},{"1377685324":["hashtag1","hashtag2"]},{"1377685312":["hashtag1","hashtag2"]},{"1377685326":["hashtag1","hashtag2"]},{"1377685328":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685321, 1377685330, 1377685324, 1377685312, 1377685326, 1377685328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.987303495407104 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:09:03.183543
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/33/image_17082025_04_33_58_9109.jpg', '/media/data/images/17082025/04/33/image_17082025_04_34_08_10658.jpg', '/media/data/images/17082025/04/34/image_17082025_04_34_28_9256.jpg', '/media/data/images/17082025/04/34/image_17082025_04_34_38_10364.jpg', '/media/data/images/17082025/04/34/image_17082025_04_34_49_10384.jpg', '/media/data/images/17082025/04/34/image_17082025_04_35_08_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/33/image_17082025_04_33_58_9109.jpg
/media/data/images/17082025/04/33/image_17082025_04_34_08_10658.jpg
/media/data/images/17082025/04/34/image_17082025_04_34_28_9256.jpg
/media/data/images/17082025/04/34/image_17082025_04_34_38_10364.jpg
/media/data/images/17082025/04/34/image_17082025_04_34_49_10384.jpg
/media/data/images/17082025/04/34/image_17082025_04_35_08_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685354","1377685339","1377685350","1377685343","1377685352","1377685349"],"photo_ids_order":["1377685339","1377685343","1377685349","1377685350","1377685352","1377685354"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ee971d346eb1737271245fe6da66aac.jpg","text":"TemporaryFile(/tmp/multipartBody1644637896956888930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_35_08_10480.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92cd078e64c3246c8de6bbd724d91c50.jpg","text":"TemporaryFile(/tmp/multipartBody8255090791057383470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_33_58_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e18fc9ca11b77080dde72184c058c15.jpg","text":"TemporaryFile(/tmp/multipartBody1019608912351488508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_34_38_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07196e70150d0952d145730c31a45c74.jpg","text":"TemporaryFile(/tmp/multipartBody3183680514596059306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_34_08_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c945f06be31b0a7d9266acc218a6ec37.jpg","text":"TemporaryFile(/tmp/multipartBody4660421394168700347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_34_49_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a2ac61cf57868564643e42fec9ec3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1401827432010480597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450604174,"filename":"image_17082025_04_34_28_9256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685349","file1":"1377685343","file0":"1377685339","file4":"1377685352","file5":"1377685354","file3":"1377685350"},"map_files_photo_id_array":[{"photo_id":"1377685354","filename":"file5"},{"photo_id":"1377685349","filename":"file2"},{"photo_id":"1377685352","filename":"file4"},{"photo_id":"1377685343","filename":"file1"},{"photo_id":"1377685339","filename":"file0"},{"photo_id":"1377685350","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685354":["hashtag1","hashtag2"]},{"1377685339":["hashtag1","hashtag2"]},{"1377685350":["hashtag1","hashtag2"]},{"1377685343":["hashtag1","hashtag2"]},{"1377685352":["hashtag1","hashtag2"]},{"1377685349":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685354, 1377685339, 1377685350, 1377685343, 1377685352, 1377685349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57922315597534 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:10:03.114418
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/35/image_17082025_04_35_28_9184.jpg', '/media/data/images/17082025/04/35/image_17082025_04_35_38_10332.jpg', '/media/data/images/17082025/04/35/image_17082025_04_35_49_10446.jpg', '/media/data/images/17082025/04/36/image_17082025_04_36_19_10343.jpg', '/media/data/images/17082025/04/36/image_17082025_04_36_28_9167.jpg', '/media/data/images/17082025/04/36/image_17082025_04_36_38_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/35/image_17082025_04_35_28_9184.jpg
/media/data/images/17082025/04/35/image_17082025_04_35_38_10332.jpg
/media/data/images/17082025/04/35/image_17082025_04_35_49_10446.jpg
/media/data/images/17082025/04/36/image_17082025_04_36_19_10343.jpg
/media/data/images/17082025/04/36/image_17082025_04_36_28_9167.jpg
/media/data/images/17082025/04/36/image_17082025_04_36_38_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685375","1377685378","1377685365","1377685380","1377685382","1377685367"],"photo_ids_order":["1377685365","1377685367","1377685375","1377685378","1377685380","1377685382"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a3ae1c5dfe808dd28c066105d6040b64.jpg","text":"TemporaryFile(/tmp/multipartBody3770830329266957904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_35_49_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf51fbaaa4db27da30c5f74a1076961b.jpg","text":"TemporaryFile(/tmp/multipartBody6023021912246030996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_36_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f53ce07debd920b8fed56551743f00c3.jpg","text":"TemporaryFile(/tmp/multipartBody2015833620185923859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_35_28_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8611e24fc9062cfae554458ad0a86b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2750111006639684153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_36_28_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39fa67462e50fd2e3263a7fc50158250.jpg","text":"TemporaryFile(/tmp/multipartBody3139655237301483040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_36_38_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19c249a009363263d538f3b7374e0ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3344412949024995026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450664126,"filename":"image_17082025_04_35_38_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685375","file1":"1377685367","file0":"1377685365","file4":"1377685380","file5":"1377685382","file3":"1377685378"},"map_files_photo_id_array":[{"photo_id":"1377685382","filename":"file5"},{"photo_id":"1377685375","filename":"file2"},{"photo_id":"1377685380","filename":"file4"},{"photo_id":"1377685367","filename":"file1"},{"photo_id":"1377685365","filename":"file0"},{"photo_id":"1377685378","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685375":["hashtag1","hashtag2"]},{"1377685378":["hashtag1","hashtag2"]},{"1377685365":["hashtag1","hashtag2"]},{"1377685380":["hashtag1","hashtag2"]},{"1377685382":["hashtag1","hashtag2"]},{"1377685367":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685375, 1377685378, 1377685365, 1377685380, 1377685382, 1377685367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13002681732178 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:11:03.422173
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/36/image_17082025_04_36_58_10351.jpg', '/media/data/images/17082025/04/37/image_17082025_04_37_18_9267.jpg', '/media/data/images/17082025/04/37/image_17082025_04_37_28_10384.jpg', '/media/data/images/17082025/04/37/image_17082025_04_37_39_10334.jpg', '/media/data/images/17082025/04/37/image_17082025_04_37_48_9095.jpg', '/media/data/images/17082025/04/37/image_17082025_04_37_58_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/36/image_17082025_04_36_58_10351.jpg
/media/data/images/17082025/04/37/image_17082025_04_37_18_9267.jpg
/media/data/images/17082025/04/37/image_17082025_04_37_28_10384.jpg
/media/data/images/17082025/04/37/image_17082025_04_37_39_10334.jpg
/media/data/images/17082025/04/37/image_17082025_04_37_48_9095.jpg
/media/data/images/17082025/04/37/image_17082025_04_37_58_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685393","1377685402","1377685408","1377685404","1377685391","1377685406"],"photo_ids_order":["1377685391","1377685393","1377685402","1377685404","1377685406","1377685408"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8343e53d01eff424911d274477d46be.jpg","text":"TemporaryFile(/tmp/multipartBody4189603793226836974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_37_18_9267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/893be95a2242bd8ab536e6965b8f8759.jpg","text":"TemporaryFile(/tmp/multipartBody7629046236013451234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_37_28_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a25ce2617a774917133828c1524feee.jpg","text":"TemporaryFile(/tmp/multipartBody4261219990434297014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_37_58_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/84f21ffecb92ed62ab81d6d3d4705912.jpg","text":"TemporaryFile(/tmp/multipartBody6489948721038151840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_37_39_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aba7a3b3fa2b49394c284c2f4178a745.jpg","text":"TemporaryFile(/tmp/multipartBody7657797345341826666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_36_58_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3eec15a657de8f8e5b5249d193e1427f.jpg","text":"TemporaryFile(/tmp/multipartBody6712844065170637372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724425,"filename":"image_17082025_04_37_48_9095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685402","file1":"1377685393","file0":"1377685391","file4":"1377685406","file5":"1377685408","file3":"1377685404"},"map_files_photo_id_array":[{"photo_id":"1377685408","filename":"file5"},{"photo_id":"1377685402","filename":"file2"},{"photo_id":"1377685406","filename":"file4"},{"photo_id":"1377685393","filename":"file1"},{"photo_id":"1377685391","filename":"file0"},{"photo_id":"1377685404","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685393":["hashtag1","hashtag2"]},{"1377685402":["hashtag1","hashtag2"]},{"1377685408":["hashtag1","hashtag2"]},{"1377685404":["hashtag1","hashtag2"]},{"1377685391":["hashtag1","hashtag2"]},{"1377685406":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685393, 1377685402, 1377685408, 1377685404, 1377685391, 1377685406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23623847961426 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:12:02.065000
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/38/image_17082025_04_38_08_10241.jpg', '/media/data/images/17082025/04/38/image_17082025_04_38_19_10334.jpg', '/media/data/images/17082025/04/38/image_17082025_04_38_28_9100.jpg', '/media/data/images/17082025/04/38/image_17082025_04_38_38_10339.jpg', '/media/data/images/17082025/04/38/image_17082025_04_38_58_9193.jpg', '/media/data/images/17082025/04/39/image_17082025_04_39_19_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/38/image_17082025_04_38_08_10241.jpg
/media/data/images/17082025/04/38/image_17082025_04_38_19_10334.jpg
/media/data/images/17082025/04/38/image_17082025_04_38_28_9100.jpg
/media/data/images/17082025/04/38/image_17082025_04_38_38_10339.jpg
/media/data/images/17082025/04/38/image_17082025_04_38_58_9193.jpg
/media/data/images/17082025/04/39/image_17082025_04_39_19_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685417","1377685432","1377685431","1377685428","1377685419","1377685430"],"photo_ids_order":["1377685417","1377685419","1377685428","1377685430","1377685431","1377685432"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37f008d0ee665cded1433374cada562a.jpg","text":"TemporaryFile(/tmp/multipartBody7789404206334288886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_38_08_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bdcca26e1fcd2ced7eed1bff2756665.jpg","text":"TemporaryFile(/tmp/multipartBody7230421944714128031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_39_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d064b832637716057fdb87c616477eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1892572792547701716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_38_58_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f9389ddfe2ec3baf372f7d786d9f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody1651205987782336372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_38_28_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3de0fae2834540dae987ef2cef27ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7322030965716417373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_38_19_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39e4a7f1e3e81828d2591e0915460246.jpg","text":"TemporaryFile(/tmp/multipartBody2525670942648655882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450783052,"filename":"image_17082025_04_38_38_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685428","file1":"1377685419","file0":"1377685417","file4":"1377685431","file5":"1377685432","file3":"1377685430"},"map_files_photo_id_array":[{"photo_id":"1377685432","filename":"file5"},{"photo_id":"1377685428","filename":"file2"},{"photo_id":"1377685431","filename":"file4"},{"photo_id":"1377685419","filename":"file1"},{"photo_id":"1377685417","filename":"file0"},{"photo_id":"1377685430","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685417":["hashtag1","hashtag2"]},{"1377685432":["hashtag1","hashtag2"]},{"1377685431":["hashtag1","hashtag2"]},{"1377685428":["hashtag1","hashtag2"]},{"1377685419":["hashtag1","hashtag2"]},{"1377685430":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685417, 1377685432, 1377685431, 1377685428, 1377685419, 1377685430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.827489614486694 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:13:02.570837
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/39/image_17082025_04_39_28_9184.jpg', '/media/data/images/17082025/04/39/image_17082025_04_39_38_10330.jpg', '/media/data/images/17082025/04/39/image_17082025_04_39_48_10324.jpg', '/media/data/images/17082025/04/39/image_17082025_04_39_59_10335.jpg', '/media/data/images/17082025/04/40/image_17082025_04_40_08_9276.jpg', '/media/data/images/17082025/04/40/image_17082025_04_40_29_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/39/image_17082025_04_39_28_9184.jpg
/media/data/images/17082025/04/39/image_17082025_04_39_38_10330.jpg
/media/data/images/17082025/04/39/image_17082025_04_39_48_10324.jpg
/media/data/images/17082025/04/39/image_17082025_04_39_59_10335.jpg
/media/data/images/17082025/04/40/image_17082025_04_40_08_9276.jpg
/media/data/images/17082025/04/40/image_17082025_04_40_29_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685441","1377685458","1377685452","1377685455","1377685449","1377685440"],"photo_ids_order":["1377685440","1377685441","1377685449","1377685452","1377685455","1377685458"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11af0a6f0b3da86c876aaa995b39dc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8007398211054918570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_39_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16635acc436467a17817f995fb622865.jpg","text":"TemporaryFile(/tmp/multipartBody6989247890202547368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_40_29_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05d77ceebf2f3b0fd710413d87459fe4.jpg","text":"TemporaryFile(/tmp/multipartBody205405954493946568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_39_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76ddf4e4568415b021ea8cf0d999c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7675676458708845909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_40_08_9276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0cf9586cd8f5756fb43245c79f2ff432.jpg","text":"TemporaryFile(/tmp/multipartBody8045984214726326873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_39_48_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17019f78be0af4f1dac82d78617fe495.jpg","text":"TemporaryFile(/tmp/multipartBody8101910794290851688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450843559,"filename":"image_17082025_04_39_28_9184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685449","file1":"1377685441","file0":"1377685440","file4":"1377685455","file5":"1377685458","file3":"1377685452"},"map_files_photo_id_array":[{"photo_id":"1377685458","filename":"file5"},{"photo_id":"1377685449","filename":"file2"},{"photo_id":"1377685455","filename":"file4"},{"photo_id":"1377685441","filename":"file1"},{"photo_id":"1377685440","filename":"file0"},{"photo_id":"1377685452","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685441":["hashtag1","hashtag2"]},{"1377685458":["hashtag1","hashtag2"]},{"1377685452":["hashtag1","hashtag2"]},{"1377685455":["hashtag1","hashtag2"]},{"1377685449":["hashtag1","hashtag2"]},{"1377685440":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685441, 1377685458, 1377685452, 1377685455, 1377685449, 1377685440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.615487575531006 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:14:02.603929
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/40/image_17082025_04_40_48_10390.jpg', '/media/data/images/17082025/04/40/image_17082025_04_40_59_10335.jpg', '/media/data/images/17082025/04/41/image_17082025_04_41_08_9238.jpg', '/media/data/images/17082025/04/41/image_17082025_04_41_29_10346.jpg', '/media/data/images/17082025/04/41/image_17082025_04_41_48_10334.jpg', '/media/data/images/17082025/04/41/image_17082025_04_41_59_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/40/image_17082025_04_40_48_10390.jpg
/media/data/images/17082025/04/40/image_17082025_04_40_59_10335.jpg
/media/data/images/17082025/04/41/image_17082025_04_41_08_9238.jpg
/media/data/images/17082025/04/41/image_17082025_04_41_29_10346.jpg
/media/data/images/17082025/04/41/image_17082025_04_41_48_10334.jpg
/media/data/images/17082025/04/41/image_17082025_04_41_59_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685476","1377685485","1377685464","1377685472","1377685481","1377685478"],"photo_ids_order":["1377685464","1377685472","1377685476","1377685478","1377685481","1377685485"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11700b6cbba76de04d86b3900010562b.jpg","text":"TemporaryFile(/tmp/multipartBody4196683586708059488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_41_08_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5829e6fda44d6a6561392970ae1ab361.jpg","text":"TemporaryFile(/tmp/multipartBody7839253048277990549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_41_59_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44cc13b1abaa81705be73f7dff6e5ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2812252144290891898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_40_48_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5163dfb210331c302492821dbd84c74d.jpg","text":"TemporaryFile(/tmp/multipartBody3070039654217132943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_40_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/404fd410b2184488377ba19c1778b1da.jpg","text":"TemporaryFile(/tmp/multipartBody3075278849162600347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_41_48_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4044f86d30a407a04cef844f1c6df1f5.jpg","text":"TemporaryFile(/tmp/multipartBody7361746284984124733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450903602,"filename":"image_17082025_04_41_29_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685476","file1":"1377685472","file0":"1377685464","file4":"1377685481","file5":"1377685485","file3":"1377685478"},"map_files_photo_id_array":[{"photo_id":"1377685485","filename":"file5"},{"photo_id":"1377685476","filename":"file2"},{"photo_id":"1377685481","filename":"file4"},{"photo_id":"1377685472","filename":"file1"},{"photo_id":"1377685464","filename":"file0"},{"photo_id":"1377685478","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685476":["hashtag1","hashtag2"]},{"1377685485":["hashtag1","hashtag2"]},{"1377685464":["hashtag1","hashtag2"]},{"1377685472":["hashtag1","hashtag2"]},{"1377685481":["hashtag1","hashtag2"]},{"1377685478":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685476, 1377685485, 1377685464, 1377685472, 1377685481, 1377685478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55256152153015 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:15:02.812531
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/42/image_17082025_04_42_08_9121.jpg', '/media/data/images/17082025/04/42/image_17082025_04_42_18_10405.jpg', '/media/data/images/17082025/04/42/image_17082025_04_42_28_10330.jpg', '/media/data/images/17082025/04/42/image_17082025_04_42_39_10400.jpg', '/media/data/images/17082025/04/42/image_17082025_04_42_48_9178.jpg', '/media/data/images/17082025/04/42/image_17082025_04_42_58_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/42/image_17082025_04_42_08_9121.jpg
/media/data/images/17082025/04/42/image_17082025_04_42_18_10405.jpg
/media/data/images/17082025/04/42/image_17082025_04_42_28_10330.jpg
/media/data/images/17082025/04/42/image_17082025_04_42_39_10400.jpg
/media/data/images/17082025/04/42/image_17082025_04_42_48_9178.jpg
/media/data/images/17082025/04/42/image_17082025_04_42_58_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685498","1377685504","1377685494","1377685507","1377685506","1377685505"],"photo_ids_order":["1377685494","1377685498","1377685504","1377685505","1377685506","1377685507"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91efe5fc7c7c357c713855df0152f076.jpg","text":"TemporaryFile(/tmp/multipartBody1919073365431694442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_18_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9c1adc5254f3579b7a388c63e80a7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1278902701063890823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_28_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01d6e1da55112e9f857809f0f2bb373f.jpg","text":"TemporaryFile(/tmp/multipartBody1301825608402059711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_08_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b697d090e48d6acd3bf18d802cd1cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody261469879364546791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_58_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b0c4a63f86a0ad895d473d68ee52fb2.jpg","text":"TemporaryFile(/tmp/multipartBody182682664146782163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_48_9178.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9029af409885869578b955a986c105d1.jpg","text":"TemporaryFile(/tmp/multipartBody3347085431203158695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450963795,"filename":"image_17082025_04_42_39_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685504","file1":"1377685498","file0":"1377685494","file4":"1377685506","file5":"1377685507","file3":"1377685505"},"map_files_photo_id_array":[{"photo_id":"1377685507","filename":"file5"},{"photo_id":"1377685504","filename":"file2"},{"photo_id":"1377685506","filename":"file4"},{"photo_id":"1377685498","filename":"file1"},{"photo_id":"1377685494","filename":"file0"},{"photo_id":"1377685505","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685498":["hashtag1","hashtag2"]},{"1377685504":["hashtag1","hashtag2"]},{"1377685494":["hashtag1","hashtag2"]},{"1377685507":["hashtag1","hashtag2"]},{"1377685506":["hashtag1","hashtag2"]},{"1377685505":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685498, 1377685504, 1377685494, 1377685507, 1377685506, 1377685505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68469977378845 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:16:02.749575
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/43/image_17082025_04_43_09_10182.jpg', '/media/data/images/17082025/04/43/image_17082025_04_43_18_9201.jpg', '/media/data/images/17082025/04/43/image_17082025_04_43_39_10333.jpg', '/media/data/images/17082025/04/43/image_17082025_04_43_48_9094.jpg', '/media/data/images/17082025/04/43/image_17082025_04_43_58_10343.jpg', '/media/data/images/17082025/04/43/image_17082025_04_44_09_10555.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/43/image_17082025_04_43_09_10182.jpg
/media/data/images/17082025/04/43/image_17082025_04_43_18_9201.jpg
/media/data/images/17082025/04/43/image_17082025_04_43_39_10333.jpg
/media/data/images/17082025/04/43/image_17082025_04_43_48_9094.jpg
/media/data/images/17082025/04/43/image_17082025_04_43_58_10343.jpg
/media/data/images/17082025/04/43/image_17082025_04_44_09_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685528","1377685519","1377685530","1377685533","1377685536","1377685524"],"photo_ids_order":["1377685519","1377685524","1377685528","1377685530","1377685533","1377685536"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1e0e7e606277ce8ec609ee8059d846e.jpg","text":"TemporaryFile(/tmp/multipartBody8997986159707800373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_43_39_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ef49eec9511fea7af838e8a2f0aa4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1924337110107793432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_43_09_10182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/326bbfd75add5ad687d2bb596d992d07.jpg","text":"TemporaryFile(/tmp/multipartBody7344612868659493484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_43_48_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10aaeb0b12c3f7ffae04906f1b7f891f.jpg","text":"TemporaryFile(/tmp/multipartBody4284095435248791030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_43_58_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99f22cdb621c47c78dd370303b812460.jpg","text":"TemporaryFile(/tmp/multipartBody3200146218710593010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_44_09_10555.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8200dd5225ccbf191b045776c9a800f9.jpg","text":"TemporaryFile(/tmp/multipartBody7583782213916118985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451023710,"filename":"image_17082025_04_43_18_9201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685528","file1":"1377685524","file0":"1377685519","file4":"1377685533","file5":"1377685536","file3":"1377685530"},"map_files_photo_id_array":[{"photo_id":"1377685536","filename":"file5"},{"photo_id":"1377685528","filename":"file2"},{"photo_id":"1377685533","filename":"file4"},{"photo_id":"1377685524","filename":"file1"},{"photo_id":"1377685519","filename":"file0"},{"photo_id":"1377685530","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685528":["hashtag1","hashtag2"]},{"1377685519":["hashtag1","hashtag2"]},{"1377685530":["hashtag1","hashtag2"]},{"1377685533":["hashtag1","hashtag2"]},{"1377685536":["hashtag1","hashtag2"]},{"1377685524":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685528, 1377685519, 1377685530, 1377685533, 1377685536, 1377685524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.877501010894775 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:17:03.065607
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/44/image_17082025_04_44_38_10431.jpg', '/media/data/images/17082025/04/44/image_17082025_04_44_58_10518.jpg', '/media/data/images/17082025/04/45/image_17082025_04_45_09_10483.jpg', '/media/data/images/17082025/04/45/image_17082025_04_45_18_9251.jpg', '/media/data/images/17082025/04/45/image_17082025_04_45_28_10435.jpg', '/media/data/images/17082025/04/45/image_17082025_04_45_48_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/44/image_17082025_04_44_38_10431.jpg
/media/data/images/17082025/04/44/image_17082025_04_44_58_10518.jpg
/media/data/images/17082025/04/45/image_17082025_04_45_09_10483.jpg
/media/data/images/17082025/04/45/image_17082025_04_45_18_9251.jpg
/media/data/images/17082025/04/45/image_17082025_04_45_28_10435.jpg
/media/data/images/17082025/04/45/image_17082025_04_45_48_9111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685552","1377685558","1377685543","1377685554","1377685556","1377685541"],"photo_ids_order":["1377685541","1377685543","1377685552","1377685554","1377685556","1377685558"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82827083647c27c3cd010251e8f1f148.jpg","text":"TemporaryFile(/tmp/multipartBody256930158869667680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_45_09_10483.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3946413566a12879390dd4bca3d47977.jpg","text":"TemporaryFile(/tmp/multipartBody8043364291159117204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_45_48_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/307fc6a1d18e44b7e5be811590be1ecc.jpg","text":"TemporaryFile(/tmp/multipartBody311196027384487912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_44_58_10518.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb286746e8f66d256f86f93b983db166.jpg","text":"TemporaryFile(/tmp/multipartBody8975840020757509784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_45_18_9251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b1475c78085ed1fd28ab27ee9802603.jpg","text":"TemporaryFile(/tmp/multipartBody2022070806151248697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_45_28_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fac9f7f5d45d183dfff9328867aa8bed.jpg","text":"TemporaryFile(/tmp/multipartBody8686747050838659823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084056,"filename":"image_17082025_04_44_38_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685552","file1":"1377685543","file0":"1377685541","file4":"1377685556","file5":"1377685558","file3":"1377685554"},"map_files_photo_id_array":[{"photo_id":"1377685558","filename":"file5"},{"photo_id":"1377685552","filename":"file2"},{"photo_id":"1377685556","filename":"file4"},{"photo_id":"1377685543","filename":"file1"},{"photo_id":"1377685541","filename":"file0"},{"photo_id":"1377685554","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685552":["hashtag1","hashtag2"]},{"1377685558":["hashtag1","hashtag2"]},{"1377685543":["hashtag1","hashtag2"]},{"1377685554":["hashtag1","hashtag2"]},{"1377685556":["hashtag1","hashtag2"]},{"1377685541":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685552, 1377685558, 1377685543, 1377685554, 1377685556, 1377685541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.004480600357056 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:18:02.716378
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/45/image_17082025_04_45_58_10338.jpg', '/media/data/images/17082025/04/46/image_17082025_04_46_09_10365.jpg', '/media/data/images/17082025/04/46/image_17082025_04_46_18_9190.jpg', '/media/data/images/17082025/04/46/image_17082025_04_46_28_10377.jpg', '/media/data/images/17082025/04/46/image_17082025_04_46_39_10437.jpg', '/media/data/images/17082025/04/46/image_17082025_04_46_48_9156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/45/image_17082025_04_45_58_10338.jpg
/media/data/images/17082025/04/46/image_17082025_04_46_09_10365.jpg
/media/data/images/17082025/04/46/image_17082025_04_46_18_9190.jpg
/media/data/images/17082025/04/46/image_17082025_04_46_28_10377.jpg
/media/data/images/17082025/04/46/image_17082025_04_46_39_10437.jpg
/media/data/images/17082025/04/46/image_17082025_04_46_48_9156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685564","1377685567","1377685576","1377685581","1377685578","1377685580"],"photo_ids_order":["1377685564","1377685567","1377685576","1377685578","1377685580","1377685581"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d6eca29db0e43971471cd09625ea2d6.jpg","text":"TemporaryFile(/tmp/multipartBody3286131750303763990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_45_58_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6de71275726261556b56fe226133e422.jpg","text":"TemporaryFile(/tmp/multipartBody5477123599604343866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_46_09_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7af3677b959ac5e07557a38ee3903b3.jpg","text":"TemporaryFile(/tmp/multipartBody1887778334794851687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_46_18_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a73c78700c8a756b2c64ab6ad8876da5.jpg","text":"TemporaryFile(/tmp/multipartBody1930979232960290698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_46_48_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4be431618709fe2516cf8f657bf8e73b.jpg","text":"TemporaryFile(/tmp/multipartBody4605467595504364127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_46_28_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77f3786b0ce12d1f8b86f18381e9e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody4567419235483785090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451143724,"filename":"image_17082025_04_46_39_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685576","file1":"1377685567","file0":"1377685564","file4":"1377685580","file5":"1377685581","file3":"1377685578"},"map_files_photo_id_array":[{"photo_id":"1377685581","filename":"file5"},{"photo_id":"1377685576","filename":"file2"},{"photo_id":"1377685580","filename":"file4"},{"photo_id":"1377685567","filename":"file1"},{"photo_id":"1377685564","filename":"file0"},{"photo_id":"1377685578","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685564":["hashtag1","hashtag2"]},{"1377685567":["hashtag1","hashtag2"]},{"1377685576":["hashtag1","hashtag2"]},{"1377685581":["hashtag1","hashtag2"]},{"1377685578":["hashtag1","hashtag2"]},{"1377685580":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685564, 1377685567, 1377685576, 1377685581, 1377685578, 1377685580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28670597076416 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:19:03.368464
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/46/image_17082025_04_46_58_10429.jpg', '/media/data/images/17082025/04/47/image_17082025_04_47_08_10218.jpg', '/media/data/images/17082025/04/47/image_17082025_04_47_18_9266.jpg', '/media/data/images/17082025/04/47/image_17082025_04_47_28_10348.jpg', '/media/data/images/17082025/04/47/image_17082025_04_47_38_10405.jpg', '/media/data/images/17082025/04/47/image_17082025_04_47_49_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/46/image_17082025_04_46_58_10429.jpg
/media/data/images/17082025/04/47/image_17082025_04_47_08_10218.jpg
/media/data/images/17082025/04/47/image_17082025_04_47_18_9266.jpg
/media/data/images/17082025/04/47/image_17082025_04_47_28_10348.jpg
/media/data/images/17082025/04/47/image_17082025_04_47_38_10405.jpg
/media/data/images/17082025/04/47/image_17082025_04_47_49_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685593","1377685606","1377685608","1377685602","1377685595","1377685604"],"photo_ids_order":["1377685593","1377685595","1377685602","1377685604","1377685606","1377685608"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8125627a4ca8e81810732d34e24c9404.jpg","text":"TemporaryFile(/tmp/multipartBody4232759360233523568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_46_58_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de6002c16b744f9cfa080a65954ca192.jpg","text":"TemporaryFile(/tmp/multipartBody9211011784887269664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_47_38_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a3365c7f65cee59fae942ff08ba4684.jpg","text":"TemporaryFile(/tmp/multipartBody514658152567327045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_47_49_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ad06fd5b0a6ea5a395f2d878464ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody3805392187189936162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_47_18_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25c531107573798e5bfa5148303424c0.jpg","text":"TemporaryFile(/tmp/multipartBody6633797274195512412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_47_08_10218.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29bb90b89af30c138fbc306f92031c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3463891788412994557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451204354,"filename":"image_17082025_04_47_28_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685602","file1":"1377685595","file0":"1377685593","file4":"1377685606","file5":"1377685608","file3":"1377685604"},"map_files_photo_id_array":[{"photo_id":"1377685608","filename":"file5"},{"photo_id":"1377685602","filename":"file2"},{"photo_id":"1377685606","filename":"file4"},{"photo_id":"1377685595","filename":"file1"},{"photo_id":"1377685593","filename":"file0"},{"photo_id":"1377685604","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685593":["hashtag1","hashtag2"]},{"1377685606":["hashtag1","hashtag2"]},{"1377685608":["hashtag1","hashtag2"]},{"1377685602":["hashtag1","hashtag2"]},{"1377685595":["hashtag1","hashtag2"]},{"1377685604":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685593, 1377685606, 1377685608, 1377685602, 1377685595, 1377685604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66875100135803 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:20:03.041376
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/47/image_17082025_04_47_58_9100.jpg', '/media/data/images/17082025/04/48/image_17082025_04_48_19_10393.jpg', '/media/data/images/17082025/04/48/image_17082025_04_48_28_9109.jpg', '/media/data/images/17082025/04/48/image_17082025_04_48_49_10369.jpg', '/media/data/images/17082025/04/48/image_17082025_04_48_58_9262.jpg', '/media/data/images/17082025/04/49/image_17082025_04_49_19_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/47/image_17082025_04_47_58_9100.jpg
/media/data/images/17082025/04/48/image_17082025_04_48_19_10393.jpg
/media/data/images/17082025/04/48/image_17082025_04_48_28_9109.jpg
/media/data/images/17082025/04/48/image_17082025_04_48_49_10369.jpg
/media/data/images/17082025/04/48/image_17082025_04_48_58_9262.jpg
/media/data/images/17082025/04/49/image_17082025_04_49_19_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685626","1377685629","1377685614","1377685623","1377685634","1377685631"],"photo_ids_order":["1377685614","1377685623","1377685626","1377685629","1377685631","1377685634"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c251a2b9893158cf4d6dfbc070c4603.jpg","text":"TemporaryFile(/tmp/multipartBody4495876452150130786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_48_28_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65859664011dae9d067bf141bdc514c3.jpg","text":"TemporaryFile(/tmp/multipartBody5418082761054595269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_48_49_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2df365c0f1636d7e169351d3adf5fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody3091295023975242770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_47_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d309319ea93348e7e07795c5e0329995.jpg","text":"TemporaryFile(/tmp/multipartBody1922648020816840420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_48_19_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21f3bfe4a6389838ead8a105ac18c072.jpg","text":"TemporaryFile(/tmp/multipartBody340088855403246074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_49_19_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/70e16092eeb57b4af0018dcf522fb4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6984290365664416689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264025,"filename":"image_17082025_04_48_58_9262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685626","file1":"1377685623","file0":"1377685614","file4":"1377685631","file5":"1377685634","file3":"1377685629"},"map_files_photo_id_array":[{"photo_id":"1377685634","filename":"file5"},{"photo_id":"1377685626","filename":"file2"},{"photo_id":"1377685631","filename":"file4"},{"photo_id":"1377685623","filename":"file1"},{"photo_id":"1377685614","filename":"file0"},{"photo_id":"1377685629","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685626":["hashtag1","hashtag2"]},{"1377685629":["hashtag1","hashtag2"]},{"1377685614":["hashtag1","hashtag2"]},{"1377685623":["hashtag1","hashtag2"]},{"1377685634":["hashtag1","hashtag2"]},{"1377685631":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685626, 1377685629, 1377685614, 1377685623, 1377685634, 1377685631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10736060142517 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:21:02.416926
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/49/image_17082025_04_49_38_10344.jpg', '/media/data/images/17082025/04/49/image_17082025_04_49_59_10352.jpg', '/media/data/images/17082025/04/50/image_17082025_04_50_18_10331.jpg', '/media/data/images/17082025/04/50/image_17082025_04_50_29_10367.jpg', '/media/data/images/17082025/04/50/image_17082025_04_50_48_10345.jpg', '/media/data/images/17082025/04/50/image_17082025_04_50_59_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/49/image_17082025_04_49_38_10344.jpg
/media/data/images/17082025/04/49/image_17082025_04_49_59_10352.jpg
/media/data/images/17082025/04/50/image_17082025_04_50_18_10331.jpg
/media/data/images/17082025/04/50/image_17082025_04_50_29_10367.jpg
/media/data/images/17082025/04/50/image_17082025_04_50_48_10345.jpg
/media/data/images/17082025/04/50/image_17082025_04_50_59_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685654","1377685656","1377685659","1377685652","1377685643","1377685637"],"photo_ids_order":["1377685637","1377685643","1377685652","1377685654","1377685656","1377685659"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32286fe353b75445ec644ec927953593.jpg","text":"TemporaryFile(/tmp/multipartBody6437539507169108422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_50_29_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ab62fd089a992acaa74175921b0792c.jpg","text":"TemporaryFile(/tmp/multipartBody6466286108845632904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_50_48_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd816ba13225315137ee0d842d6eabc3.jpg","text":"TemporaryFile(/tmp/multipartBody8800504751665019213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_50_59_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/057852f776d003dae5807d1812066ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7989427376930409047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_50_18_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85138c55d2fd03934d1d70f18333ef98.jpg","text":"TemporaryFile(/tmp/multipartBody455170474576421415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_49_59_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f8a209b66f184c18bb9fb8fbc812e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3013474715916924370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451324562,"filename":"image_17082025_04_49_38_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685652","file1":"1377685643","file0":"1377685637","file4":"1377685656","file5":"1377685659","file3":"1377685654"},"map_files_photo_id_array":[{"photo_id":"1377685659","filename":"file5"},{"photo_id":"1377685652","filename":"file2"},{"photo_id":"1377685656","filename":"file4"},{"photo_id":"1377685643","filename":"file1"},{"photo_id":"1377685637","filename":"file0"},{"photo_id":"1377685654","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685654":["hashtag1","hashtag2"]},{"1377685656":["hashtag1","hashtag2"]},{"1377685659":["hashtag1","hashtag2"]},{"1377685652":["hashtag1","hashtag2"]},{"1377685643":["hashtag1","hashtag2"]},{"1377685637":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685654, 1377685656, 1377685659, 1377685652, 1377685643, 1377685637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.417986154556274 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:22:02.273430
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/51/image_17082025_04_51_28_10357.jpg', '/media/data/images/17082025/04/51/image_17082025_04_51_48_9131.jpg', '/media/data/images/17082025/04/51/image_17082025_04_51_58_10443.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_09_10384.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_28_10409.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_48_9195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/51/image_17082025_04_51_28_10357.jpg
/media/data/images/17082025/04/51/image_17082025_04_51_48_9131.jpg
/media/data/images/17082025/04/51/image_17082025_04_51_58_10443.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_09_10384.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_28_10409.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_48_9195.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5630855560302734 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:22:21.867424
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/51/image_17082025_04_51_28_10357.jpg', '/media/data/images/17082025/04/51/image_17082025_04_51_48_9131.jpg', '/media/data/images/17082025/04/51/image_17082025_04_51_58_10443.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_09_10384.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_28_10409.jpg', '/media/data/images/17082025/04/52/image_17082025_04_52_48_9195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/51/image_17082025_04_51_28_10357.jpg
/media/data/images/17082025/04/51/image_17082025_04_51_48_9131.jpg
/media/data/images/17082025/04/51/image_17082025_04_51_58_10443.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_09_10384.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_28_10409.jpg
/media/data/images/17082025/04/52/image_17082025_04_52_48_9195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685675","1377685686","1377685680","1377685683","1377685677","1377685688"],"photo_ids_order":["1377685675","1377685677","1377685680","1377685683","1377685686","1377685688"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bac761e153ebf927695cc593ed78d7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7213286970272529429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_51_28_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6ff6400280bb91685d7d7f1603d380f.jpg","text":"TemporaryFile(/tmp/multipartBody3028537428915425034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_52_28_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c85faa2447cc1265e40d6fdd4ecfc36a.jpg","text":"TemporaryFile(/tmp/multipartBody5619864739748796018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_51_58_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8875b15a2f6239f1c18b07ce36da659c.jpg","text":"TemporaryFile(/tmp/multipartBody6367502615720909934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_52_09_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c70ec8247904ec60b2d1dc6b96207dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6676430457426176521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_51_48_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ea86c1b9f0a2a32a9083ef52b345ab6.jpg","text":"TemporaryFile(/tmp/multipartBody5605215953281348917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451402766,"filename":"image_17082025_04_52_48_9195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685680","file1":"1377685677","file0":"1377685675","file4":"1377685686","file5":"1377685688","file3":"1377685683"},"map_files_photo_id_array":[{"photo_id":"1377685688","filename":"file5"},{"photo_id":"1377685680","filename":"file2"},{"photo_id":"1377685686","filename":"file4"},{"photo_id":"1377685677","filename":"file1"},{"photo_id":"1377685675","filename":"file0"},{"photo_id":"1377685683","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685675":["hashtag1","hashtag2"]},{"1377685686":["hashtag1","hashtag2"]},{"1377685680":["hashtag1","hashtag2"]},{"1377685683":["hashtag1","hashtag2"]},{"1377685677":["hashtag1","hashtag2"]},{"1377685688":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685675, 1377685686, 1377685680, 1377685683, 1377685677, 1377685688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84130501747131 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:23:22.008087
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/52/image_17082025_04_52_58_10388.jpg', '/media/data/images/17082025/04/53/image_17082025_04_53_48_9120.jpg', '/media/data/images/17082025/04/53/image_17082025_04_53_58_10350.jpg', '/media/data/images/17082025/04/54/image_17082025_04_54_09_10692.jpg', '/media/data/images/17082025/04/54/image_17082025_04_54_28_10414.jpg', '/media/data/images/17082025/04/55/image_17082025_04_55_18_9120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/52/image_17082025_04_52_58_10388.jpg
/media/data/images/17082025/04/53/image_17082025_04_53_48_9120.jpg
/media/data/images/17082025/04/53/image_17082025_04_53_58_10350.jpg
/media/data/images/17082025/04/54/image_17082025_04_54_09_10692.jpg
/media/data/images/17082025/04/54/image_17082025_04_54_28_10414.jpg
/media/data/images/17082025/04/55/image_17082025_04_55_18_9120.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685708","1377685702","1377685711","1377685705","1377685713","1377685715"],"photo_ids_order":["1377685702","1377685705","1377685708","1377685711","1377685713","1377685715"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e3823917bb38988c8685bbdc05b89d5.jpg","text":"TemporaryFile(/tmp/multipartBody1075586857461180378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_53_58_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f56b66b77872e83c546faa776f72534.jpg","text":"TemporaryFile(/tmp/multipartBody5935365198515107877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_52_58_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f3687c6cb12b3b841e935ba23603edb2.jpg","text":"TemporaryFile(/tmp/multipartBody3868341294430838483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_54_09_10692.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77de3f906075f9ae26746fc060be53cc.jpg","text":"TemporaryFile(/tmp/multipartBody4281883598313594331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_53_48_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48e31e61ffa1e3f6d9fd9bc6aadb79ea.jpg","text":"TemporaryFile(/tmp/multipartBody2286291719410724802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_54_28_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/491aefcb3369857a1c0a271396b39ead.jpg","text":"TemporaryFile(/tmp/multipartBody8508140391305905221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451462985,"filename":"image_17082025_04_55_18_9120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685708","file1":"1377685705","file0":"1377685702","file4":"1377685713","file5":"1377685715","file3":"1377685711"},"map_files_photo_id_array":[{"photo_id":"1377685715","filename":"file5"},{"photo_id":"1377685708","filename":"file2"},{"photo_id":"1377685713","filename":"file4"},{"photo_id":"1377685705","filename":"file1"},{"photo_id":"1377685702","filename":"file0"},{"photo_id":"1377685711","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685708":["hashtag1","hashtag2"]},{"1377685702":["hashtag1","hashtag2"]},{"1377685711":["hashtag1","hashtag2"]},{"1377685705":["hashtag1","hashtag2"]},{"1377685713":["hashtag1","hashtag2"]},{"1377685715":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685708, 1377685702, 1377685711, 1377685705, 1377685713, 1377685715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57236337661743 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:24:22.080183
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/55/image_17082025_04_55_28_10407.jpg', '/media/data/images/17082025/04/55/image_17082025_04_55_58_9100.jpg', '/media/data/images/17082025/04/56/image_17082025_04_56_18_9213.jpg', '/media/data/images/17082025/04/56/image_17082025_04_56_39_10341.jpg', '/media/data/images/17082025/04/56/image_17082025_04_56_48_9161.jpg', '/media/data/images/17082025/04/56/image_17082025_04_56_58_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/55/image_17082025_04_55_28_10407.jpg
/media/data/images/17082025/04/55/image_17082025_04_55_58_9100.jpg
/media/data/images/17082025/04/56/image_17082025_04_56_18_9213.jpg
/media/data/images/17082025/04/56/image_17082025_04_56_39_10341.jpg
/media/data/images/17082025/04/56/image_17082025_04_56_48_9161.jpg
/media/data/images/17082025/04/56/image_17082025_04_56_58_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685735","1377685729","1377685737","1377685731","1377685734","1377685733"],"photo_ids_order":["1377685729","1377685731","1377685733","1377685734","1377685735","1377685737"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/713def673217961d9fe89dec0c7d9bea.jpg","text":"TemporaryFile(/tmp/multipartBody8073364832417200441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_56_48_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30b5a3f19147def4b6b6b7e199561274.jpg","text":"TemporaryFile(/tmp/multipartBody2608420756040431579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_55_28_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9671026c4df768a1f935460b06ed493.jpg","text":"TemporaryFile(/tmp/multipartBody3098527212119512586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_56_58_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b70b1539b5a5479bf61d78c62f62fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6765988003684209775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_55_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd10f514466b0a10c76a1219412d43fd.jpg","text":"TemporaryFile(/tmp/multipartBody8248573586531333512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_56_39_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd5c4c3cc8eb1f42d71b3514d6879535.jpg","text":"TemporaryFile(/tmp/multipartBody8628091386562791057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451523059,"filename":"image_17082025_04_56_18_9213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685733","file1":"1377685731","file0":"1377685729","file4":"1377685735","file5":"1377685737","file3":"1377685734"},"map_files_photo_id_array":[{"photo_id":"1377685737","filename":"file5"},{"photo_id":"1377685733","filename":"file2"},{"photo_id":"1377685735","filename":"file4"},{"photo_id":"1377685731","filename":"file1"},{"photo_id":"1377685729","filename":"file0"},{"photo_id":"1377685734","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685735":["hashtag1","hashtag2"]},{"1377685729":["hashtag1","hashtag2"]},{"1377685737":["hashtag1","hashtag2"]},{"1377685731":["hashtag1","hashtag2"]},{"1377685734":["hashtag1","hashtag2"]},{"1377685733":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685735, 1377685729, 1377685737, 1377685731, 1377685734, 1377685733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.458075284957886 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:25:22.176880
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/57/image_17082025_04_57_28_9104.jpg', '/media/data/images/17082025/04/57/image_17082025_04_57_38_10349.jpg', '/media/data/images/17082025/04/57/image_17082025_04_57_49_10357.jpg', '/media/data/images/17082025/04/57/image_17082025_04_57_58_9149.jpg', '/media/data/images/17082025/04/57/image_17082025_04_58_08_10599.jpg', '/media/data/images/17082025/04/58/image_17082025_04_58_19_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/57/image_17082025_04_57_28_9104.jpg
/media/data/images/17082025/04/57/image_17082025_04_57_38_10349.jpg
/media/data/images/17082025/04/57/image_17082025_04_57_49_10357.jpg
/media/data/images/17082025/04/57/image_17082025_04_57_58_9149.jpg
/media/data/images/17082025/04/57/image_17082025_04_58_08_10599.jpg
/media/data/images/17082025/04/58/image_17082025_04_58_19_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685756","1377685750","1377685753","1377685749","1377685758","1377685760"],"photo_ids_order":["1377685749","1377685750","1377685753","1377685756","1377685758","1377685760"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f009dde557543982d3121871f048b369.jpg","text":"TemporaryFile(/tmp/multipartBody3710409440105100779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_57_58_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b05c0d65e23e69be13d5907fc199a44.jpg","text":"TemporaryFile(/tmp/multipartBody4374222425760722612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_57_38_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b38a188e1d8bb763cf8710d622267b19.jpg","text":"TemporaryFile(/tmp/multipartBody1657595751037061321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_57_49_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83ddade64d6062b5897459db1ce03919.jpg","text":"TemporaryFile(/tmp/multipartBody7166229173112783604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_57_28_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb3cab88ef2a3c13cf4103aa8da8057d.jpg","text":"TemporaryFile(/tmp/multipartBody5017791423387046256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_58_08_10599.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4833367a31b2531d26422d728fd341da.jpg","text":"TemporaryFile(/tmp/multipartBody58863076609820047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451583154,"filename":"image_17082025_04_58_19_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685753","file1":"1377685750","file0":"1377685749","file4":"1377685758","file5":"1377685760","file3":"1377685756"},"map_files_photo_id_array":[{"photo_id":"1377685760","filename":"file5"},{"photo_id":"1377685753","filename":"file2"},{"photo_id":"1377685758","filename":"file4"},{"photo_id":"1377685750","filename":"file1"},{"photo_id":"1377685749","filename":"file0"},{"photo_id":"1377685756","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685756":["hashtag1","hashtag2"]},{"1377685750":["hashtag1","hashtag2"]},{"1377685753":["hashtag1","hashtag2"]},{"1377685749":["hashtag1","hashtag2"]},{"1377685758":["hashtag1","hashtag2"]},{"1377685760":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685756, 1377685750, 1377685753, 1377685749, 1377685758, 1377685760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.633862257003784 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:26:22.306019
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/58/image_17082025_04_58_28_9117.jpg', '/media/data/images/17082025/04/58/image_17082025_04_58_49_10409.jpg', '/media/data/images/17082025/04/58/image_17082025_04_58_58_9107.jpg', '/media/data/images/17082025/04/58/image_17082025_04_59_08_10435.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_19_10423.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_28_9104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/58/image_17082025_04_58_28_9117.jpg
/media/data/images/17082025/04/58/image_17082025_04_58_49_10409.jpg
/media/data/images/17082025/04/58/image_17082025_04_58_58_9107.jpg
/media/data/images/17082025/04/58/image_17082025_04_59_08_10435.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_19_10423.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_28_9104.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5580930709838867 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:26:42.325496
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/58/image_17082025_04_58_28_9117.jpg', '/media/data/images/17082025/04/58/image_17082025_04_58_49_10409.jpg', '/media/data/images/17082025/04/58/image_17082025_04_58_58_9107.jpg', '/media/data/images/17082025/04/58/image_17082025_04_59_08_10435.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_19_10423.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_28_9104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/58/image_17082025_04_58_28_9117.jpg
/media/data/images/17082025/04/58/image_17082025_04_58_49_10409.jpg
/media/data/images/17082025/04/58/image_17082025_04_58_58_9107.jpg
/media/data/images/17082025/04/58/image_17082025_04_59_08_10435.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_19_10423.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_28_9104.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685789","1377685777","1377685786","1377685784","1377685787","1377685781"],"photo_ids_order":["1377685777","1377685781","1377685784","1377685786","1377685787","1377685789"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb33cb9ae2d5c567b9e4a0242c914c73.jpg","text":"TemporaryFile(/tmp/multipartBody6488925698638624794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_59_28_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2f7a9479904578f15be1d120d422749.jpg","text":"TemporaryFile(/tmp/multipartBody6410933608608096389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_58_28_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ffb042020d358b48c3908275ea73afae.jpg","text":"TemporaryFile(/tmp/multipartBody326908970720194140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_59_08_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bce52578399e25db49af589c84275905.jpg","text":"TemporaryFile(/tmp/multipartBody1300305593783507093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_58_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dbafadb840be13803132b88f49ce7007.jpg","text":"TemporaryFile(/tmp/multipartBody5244354547287376785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_59_19_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/034b75c1b7ee8668c1ffa2859193c5ec.jpg","text":"TemporaryFile(/tmp/multipartBody3035720368140315158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451663244,"filename":"image_17082025_04_58_49_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685784","file1":"1377685781","file0":"1377685777","file4":"1377685787","file5":"1377685789","file3":"1377685786"},"map_files_photo_id_array":[{"photo_id":"1377685789","filename":"file5"},{"photo_id":"1377685784","filename":"file2"},{"photo_id":"1377685787","filename":"file4"},{"photo_id":"1377685781","filename":"file1"},{"photo_id":"1377685777","filename":"file0"},{"photo_id":"1377685786","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685789":["hashtag1","hashtag2"]},{"1377685777":["hashtag1","hashtag2"]},{"1377685786":["hashtag1","hashtag2"]},{"1377685784":["hashtag1","hashtag2"]},{"1377685787":["hashtag1","hashtag2"]},{"1377685781":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685789, 1377685777, 1377685786, 1377685784, 1377685787, 1377685781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42176866531372 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:27:42.430471
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/59/image_17082025_04_59_48_10420.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_58_9208.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_38_10347.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_49_10378.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_58_9136.jpg', '/media/data/images/17082025/05/00/image_17082025_05_01_08_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/59/image_17082025_04_59_48_10420.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_58_9208.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_38_10347.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_49_10378.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_58_9136.jpg
/media/data/images/17082025/05/00/image_17082025_05_01_08_10413.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5340666770935059 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:28:02.967132
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/04/59/image_17082025_04_59_48_10420.jpg', '/media/data/images/17082025/04/59/image_17082025_04_59_58_9208.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_38_10347.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_49_10378.jpg', '/media/data/images/17082025/05/00/image_17082025_05_00_58_9136.jpg', '/media/data/images/17082025/05/00/image_17082025_05_01_08_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/04/59/image_17082025_04_59_48_10420.jpg
/media/data/images/17082025/04/59/image_17082025_04_59_58_9208.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_38_10347.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_49_10378.jpg
/media/data/images/17082025/05/00/image_17082025_05_00_58_9136.jpg
/media/data/images/17082025/05/00/image_17082025_05_01_08_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685808","1377685819","1377685813","1377685822","1377685821","1377685823"],"photo_ids_order":["1377685808","1377685813","1377685819","1377685821","1377685822","1377685823"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ece84fa33648de5d6233dcce6c0dcc01.jpg","text":"TemporaryFile(/tmp/multipartBody203328260040814668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_04_59_48_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a758784d8b3eb1ee2badf9031938108.jpg","text":"TemporaryFile(/tmp/multipartBody908570474459738313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_05_00_38_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e645e94af8ff12c22fd02b6298e370d1.jpg","text":"TemporaryFile(/tmp/multipartBody962008349257238306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_04_59_58_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac9f9211beb0394e1c8d9fdfa448bd98.jpg","text":"TemporaryFile(/tmp/multipartBody1832144888483051789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_05_00_58_9136.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a5c7708ea4dd9b35a2d1211a1e245b1.jpg","text":"TemporaryFile(/tmp/multipartBody7879485829127454658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_05_00_49_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba6adcab92725cdab350bd05707f4399.jpg","text":"TemporaryFile(/tmp/multipartBody2523437100057384292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451743904,"filename":"image_17082025_05_01_08_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685819","file1":"1377685813","file0":"1377685808","file4":"1377685822","file5":"1377685823","file3":"1377685821"},"map_files_photo_id_array":[{"photo_id":"1377685823","filename":"file5"},{"photo_id":"1377685819","filename":"file2"},{"photo_id":"1377685822","filename":"file4"},{"photo_id":"1377685813","filename":"file1"},{"photo_id":"1377685808","filename":"file0"},{"photo_id":"1377685821","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685808":["hashtag1","hashtag2"]},{"1377685819":["hashtag1","hashtag2"]},{"1377685813":["hashtag1","hashtag2"]},{"1377685822":["hashtag1","hashtag2"]},{"1377685821":["hashtag1","hashtag2"]},{"1377685823":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685808, 1377685819, 1377685813, 1377685822, 1377685821, 1377685823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55331897735596 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:29:03.458231
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/01/image_17082025_05_01_19_10440.jpg', '/media/data/images/17082025/05/01/image_17082025_05_01_28_9288.jpg', '/media/data/images/17082025/05/01/image_17082025_05_01_48_9106.jpg', '/media/data/images/17082025/05/01/image_17082025_05_01_58_10379.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_19_10426.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_28_9222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/01/image_17082025_05_01_19_10440.jpg
/media/data/images/17082025/05/01/image_17082025_05_01_28_9288.jpg
/media/data/images/17082025/05/01/image_17082025_05_01_48_9106.jpg
/media/data/images/17082025/05/01/image_17082025_05_01_58_10379.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_19_10426.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_28_9222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685848","1377685839","1377685830","1377685833","1377685841","1377685844"],"photo_ids_order":["1377685830","1377685833","1377685839","1377685841","1377685844","1377685848"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/860ef0cd1863f3abdcc2168a42148a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4367194975336220070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_02_28_9222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20b0373a5863a5d162b0f55f076fdd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4442202401926248271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_01_48_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/511d63d828f85da8636cc03775b67b02.jpg","text":"TemporaryFile(/tmp/multipartBody88513471860235100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_01_19_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f5869d5812fa3510d73d4a3b4f6f62d.jpg","text":"TemporaryFile(/tmp/multipartBody8229669736665179338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_01_28_9288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a39f8354e56d0c4de0587d769d2c648.jpg","text":"TemporaryFile(/tmp/multipartBody712969733843489741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_01_58_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be0f90634173b1d373fbb0152d31abef.jpg","text":"TemporaryFile(/tmp/multipartBody5889569940922348649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451804441,"filename":"image_17082025_05_02_19_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685839","file1":"1377685833","file0":"1377685830","file4":"1377685844","file5":"1377685848","file3":"1377685841"},"map_files_photo_id_array":[{"photo_id":"1377685848","filename":"file5"},{"photo_id":"1377685839","filename":"file2"},{"photo_id":"1377685844","filename":"file4"},{"photo_id":"1377685833","filename":"file1"},{"photo_id":"1377685830","filename":"file0"},{"photo_id":"1377685841","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685848":["hashtag1","hashtag2"]},{"1377685839":["hashtag1","hashtag2"]},{"1377685830":["hashtag1","hashtag2"]},{"1377685833":["hashtag1","hashtag2"]},{"1377685841":["hashtag1","hashtag2"]},{"1377685844":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685848, 1377685839, 1377685830, 1377685833, 1377685841, 1377685844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.925854206085205 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:30:03.270706
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/02/image_17082025_05_02_38_10340.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_49_10351.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_58_9105.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_19_10430.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_28_9357.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_39_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/02/image_17082025_05_02_38_10340.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_49_10351.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_58_9105.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_19_10430.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_28_9357.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_39_10419.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5508320331573486 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:30:22.733821
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/02/image_17082025_05_02_38_10340.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_49_10351.jpg', '/media/data/images/17082025/05/02/image_17082025_05_02_58_9105.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_19_10430.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_28_9357.jpg', '/media/data/images/17082025/05/03/image_17082025_05_03_39_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/02/image_17082025_05_02_38_10340.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_49_10351.jpg
/media/data/images/17082025/05/02/image_17082025_05_02_58_9105.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_19_10430.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_28_9357.jpg
/media/data/images/17082025/05/03/image_17082025_05_03_39_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685882","1377685879","1377685875","1377685878","1377685871","1377685880"],"photo_ids_order":["1377685871","1377685875","1377685878","1377685879","1377685880","1377685882"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d6ee7544a122202b67cb1745a6110fb.jpg","text":"TemporaryFile(/tmp/multipartBody1955580634847836054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_03_39_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/682683b56b61af76d27c3ca2e5410783.jpg","text":"TemporaryFile(/tmp/multipartBody594611998685187583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_03_19_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d24bfc4180654b151cb01165c490ae82.jpg","text":"TemporaryFile(/tmp/multipartBody6685820259534888822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_02_49_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df5992c1713d7b0fa63253cd9917a5b6.jpg","text":"TemporaryFile(/tmp/multipartBody3759059545975567748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_02_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99555340cb918d52c27add7c252ea3af.jpg","text":"TemporaryFile(/tmp/multipartBody5017686624564916179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_02_38_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99c9479c2b7f3489de230b0c0a2a1d73.jpg","text":"TemporaryFile(/tmp/multipartBody288444299517493025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451883647,"filename":"image_17082025_05_03_28_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685878","file1":"1377685875","file0":"1377685871","file4":"1377685880","file5":"1377685882","file3":"1377685879"},"map_files_photo_id_array":[{"photo_id":"1377685882","filename":"file5"},{"photo_id":"1377685878","filename":"file2"},{"photo_id":"1377685880","filename":"file4"},{"photo_id":"1377685875","filename":"file1"},{"photo_id":"1377685871","filename":"file0"},{"photo_id":"1377685879","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685882":["hashtag1","hashtag2"]},{"1377685879":["hashtag1","hashtag2"]},{"1377685875":["hashtag1","hashtag2"]},{"1377685878":["hashtag1","hashtag2"]},{"1377685871":["hashtag1","hashtag2"]},{"1377685880":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685882, 1377685879, 1377685875, 1377685878, 1377685871, 1377685880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00373101234436 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:31:21.866509
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/03/image_17082025_05_03_58_10356.jpg', '/media/data/images/17082025/05/04/image_17082025_05_04_08_10491.jpg', '/media/data/images/17082025/05/04/image_17082025_05_04_18_9190.jpg', '/media/data/images/17082025/05/04/image_17082025_05_04_28_10388.jpg', '/media/data/images/17082025/05/04/image_17082025_05_04_38_10347.jpg', '/media/data/images/17082025/05/04/image_17082025_05_04_49_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/03/image_17082025_05_03_58_10356.jpg
/media/data/images/17082025/05/04/image_17082025_05_04_08_10491.jpg
/media/data/images/17082025/05/04/image_17082025_05_04_18_9190.jpg
/media/data/images/17082025/05/04/image_17082025_05_04_28_10388.jpg
/media/data/images/17082025/05/04/image_17082025_05_04_38_10347.jpg
/media/data/images/17082025/05/04/image_17082025_05_04_49_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685904","1377685894","1377685897","1377685899","1377685895","1377685901"],"photo_ids_order":["1377685894","1377685895","1377685897","1377685899","1377685901","1377685904"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1aa7abf91e8de5dbf4b5bef6b49c2183.jpg","text":"TemporaryFile(/tmp/multipartBody8482126358508125908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_04_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/069fbe45bb3a1226c0d9ff8f79510a84.jpg","text":"TemporaryFile(/tmp/multipartBody7840276550712399200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_03_58_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d2dbf7f3f95d731f948d3466d800499.jpg","text":"TemporaryFile(/tmp/multipartBody4148727445478496330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_04_18_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03aaf436b3ef1083b3e4c1e02f491e69.jpg","text":"TemporaryFile(/tmp/multipartBody542098917983705424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_04_28_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/368f124d830bdf1f285fc545c41ffdf7.jpg","text":"TemporaryFile(/tmp/multipartBody4898306278977066118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_04_08_10491.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49fe1addb84d3f42a8a04d2d2de4a764.jpg","text":"TemporaryFile(/tmp/multipartBody7859890531040682158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451942862,"filename":"image_17082025_05_04_38_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685897","file1":"1377685895","file0":"1377685894","file4":"1377685901","file5":"1377685904","file3":"1377685899"},"map_files_photo_id_array":[{"photo_id":"1377685904","filename":"file5"},{"photo_id":"1377685897","filename":"file2"},{"photo_id":"1377685901","filename":"file4"},{"photo_id":"1377685895","filename":"file1"},{"photo_id":"1377685894","filename":"file0"},{"photo_id":"1377685899","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685904":["hashtag1","hashtag2"]},{"1377685894":["hashtag1","hashtag2"]},{"1377685897":["hashtag1","hashtag2"]},{"1377685899":["hashtag1","hashtag2"]},{"1377685895":["hashtag1","hashtag2"]},{"1377685901":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685904, 1377685894, 1377685897, 1377685899, 1377685895, 1377685901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13681721687317 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:32:21.968495
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/04/image_17082025_05_04_58_9287.jpg', '/media/data/images/17082025/05/05/image_17082025_05_05_18_9115.jpg', '/media/data/images/17082025/05/05/image_17082025_05_05_28_10346.jpg', '/media/data/images/17082025/05/05/image_17082025_05_05_39_10356.jpg', '/media/data/images/17082025/05/05/image_17082025_05_05_48_9209.jpg', '/media/data/images/17082025/05/05/image_17082025_05_05_58_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/04/image_17082025_05_04_58_9287.jpg
/media/data/images/17082025/05/05/image_17082025_05_05_18_9115.jpg
/media/data/images/17082025/05/05/image_17082025_05_05_28_10346.jpg
/media/data/images/17082025/05/05/image_17082025_05_05_39_10356.jpg
/media/data/images/17082025/05/05/image_17082025_05_05_48_9209.jpg
/media/data/images/17082025/05/05/image_17082025_05_05_58_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685925","1377685924","1377685918","1377685915","1377685920","1377685922"],"photo_ids_order":["1377685915","1377685918","1377685920","1377685922","1377685924","1377685925"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a3eb2240326d874ea66b6a9ed913347.jpg","text":"TemporaryFile(/tmp/multipartBody3313015982346722905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_05_58_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0954efa313ba7049b85d7591ea2e2c44.jpg","text":"TemporaryFile(/tmp/multipartBody8115084989566206538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_05_48_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e16c958038067712c284ca465b9e7b9e.jpg","text":"TemporaryFile(/tmp/multipartBody428125683736325031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_05_18_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed0bd7a4fbef7c037567815b02bfe212.jpg","text":"TemporaryFile(/tmp/multipartBody4681981186111040947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_04_58_9287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49f7f5b5f15bad3cf952a100b10c44d4.jpg","text":"TemporaryFile(/tmp/multipartBody1144417614835501749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_05_28_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39f45d054a6d6b44e16dfd7381d3a44b.jpg","text":"TemporaryFile(/tmp/multipartBody2347285719475542711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452002951,"filename":"image_17082025_05_05_39_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685920","file1":"1377685918","file0":"1377685915","file4":"1377685924","file5":"1377685925","file3":"1377685922"},"map_files_photo_id_array":[{"photo_id":"1377685925","filename":"file5"},{"photo_id":"1377685920","filename":"file2"},{"photo_id":"1377685924","filename":"file4"},{"photo_id":"1377685918","filename":"file1"},{"photo_id":"1377685915","filename":"file0"},{"photo_id":"1377685922","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685925":["hashtag1","hashtag2"]},{"1377685924":["hashtag1","hashtag2"]},{"1377685918":["hashtag1","hashtag2"]},{"1377685915":["hashtag1","hashtag2"]},{"1377685920":["hashtag1","hashtag2"]},{"1377685922":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685925, 1377685924, 1377685918, 1377685915, 1377685920, 1377685922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41153144836426 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:33:22.137804
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/06/image_17082025_05_06_09_10366.jpg', '/media/data/images/17082025/05/06/image_17082025_05_06_18_9165.jpg', '/media/data/images/17082025/05/06/image_17082025_05_06_28_10423.jpg', '/media/data/images/17082025/05/06/image_17082025_05_06_39_10390.jpg', '/media/data/images/17082025/05/07/image_17082025_05_07_08_10304.jpg', '/media/data/images/17082025/05/07/image_17082025_05_07_18_9178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/06/image_17082025_05_06_09_10366.jpg
/media/data/images/17082025/05/06/image_17082025_05_06_18_9165.jpg
/media/data/images/17082025/05/06/image_17082025_05_06_28_10423.jpg
/media/data/images/17082025/05/06/image_17082025_05_06_39_10390.jpg
/media/data/images/17082025/05/07/image_17082025_05_07_08_10304.jpg
/media/data/images/17082025/05/07/image_17082025_05_07_18_9178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685942","1377685936","1377685947","1377685944","1377685938","1377685940"],"photo_ids_order":["1377685936","1377685938","1377685940","1377685942","1377685944","1377685947"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc3e05e3c26dbbe915964fc335ee0762.jpg","text":"TemporaryFile(/tmp/multipartBody3253702073680033073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_06_39_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6cdb607a0beb509135f507bf8dfe252b.jpg","text":"TemporaryFile(/tmp/multipartBody7525159412555263708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_06_09_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34ee18a63537c3638028a31654c9017d.jpg","text":"TemporaryFile(/tmp/multipartBody7087653727501121833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_07_18_9178.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/228d1ff7493435085562f26c0d8be3dc.jpg","text":"TemporaryFile(/tmp/multipartBody4342780906712137450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_07_08_10304.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83151408405f9d1a185501e45d318b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7113167150032821625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_06_18_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34b1397c558f3f458ce382d2553a1a79.jpg","text":"TemporaryFile(/tmp/multipartBody5337424148816060023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452063131,"filename":"image_17082025_05_06_28_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685940","file1":"1377685938","file0":"1377685936","file4":"1377685944","file5":"1377685947","file3":"1377685942"},"map_files_photo_id_array":[{"photo_id":"1377685947","filename":"file5"},{"photo_id":"1377685940","filename":"file2"},{"photo_id":"1377685944","filename":"file4"},{"photo_id":"1377685938","filename":"file1"},{"photo_id":"1377685936","filename":"file0"},{"photo_id":"1377685942","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685942":["hashtag1","hashtag2"]},{"1377685936":["hashtag1","hashtag2"]},{"1377685947":["hashtag1","hashtag2"]},{"1377685944":["hashtag1","hashtag2"]},{"1377685938":["hashtag1","hashtag2"]},{"1377685940":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685942, 1377685936, 1377685947, 1377685944, 1377685938, 1377685940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01021647453308 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:34:22.164865
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/07/image_17082025_05_07_28_10454.jpg', '/media/data/images/17082025/05/07/image_17082025_05_07_58_10358.jpg', '/media/data/images/17082025/05/08/image_17082025_05_08_18_9173.jpg', '/media/data/images/17082025/05/08/image_17082025_05_08_38_10339.jpg', '/media/data/images/17082025/05/08/image_17082025_05_08_49_10393.jpg', '/media/data/images/17082025/05/08/image_17082025_05_08_58_9119.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/07/image_17082025_05_07_28_10454.jpg
/media/data/images/17082025/05/07/image_17082025_05_07_58_10358.jpg
/media/data/images/17082025/05/08/image_17082025_05_08_18_9173.jpg
/media/data/images/17082025/05/08/image_17082025_05_08_38_10339.jpg
/media/data/images/17082025/05/08/image_17082025_05_08_49_10393.jpg
/media/data/images/17082025/05/08/image_17082025_05_08_58_9119.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685969","1377685963","1377685966","1377685971","1377685965","1377685973"],"photo_ids_order":["1377685963","1377685965","1377685966","1377685969","1377685971","1377685973"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d59d60b35498d192173e1760a62c510a.jpg","text":"TemporaryFile(/tmp/multipartBody1051421247493998601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_08_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b6e45e656a33cb4e0492dd0f180a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4036829659787628253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_07_28_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1565097ccfa9ae1f5e95c100e6aee7d1.jpg","text":"TemporaryFile(/tmp/multipartBody8314341903481246578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_08_18_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f6c343a83f93717ef724d9b5f2d03de.jpg","text":"TemporaryFile(/tmp/multipartBody1643792396808013044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_08_49_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c85f86a05c49229c5b492e8a17e17b2d.jpg","text":"TemporaryFile(/tmp/multipartBody829110527327969712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_07_58_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38912bb9fbbbf025cb2d582ee3804ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4259532307515669822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452123162,"filename":"image_17082025_05_08_58_9119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685966","file1":"1377685965","file0":"1377685963","file4":"1377685971","file5":"1377685973","file3":"1377685969"},"map_files_photo_id_array":[{"photo_id":"1377685973","filename":"file5"},{"photo_id":"1377685966","filename":"file2"},{"photo_id":"1377685971","filename":"file4"},{"photo_id":"1377685965","filename":"file1"},{"photo_id":"1377685963","filename":"file0"},{"photo_id":"1377685969","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685969":["hashtag1","hashtag2"]},{"1377685963":["hashtag1","hashtag2"]},{"1377685966":["hashtag1","hashtag2"]},{"1377685971":["hashtag1","hashtag2"]},{"1377685965":["hashtag1","hashtag2"]},{"1377685973":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685969, 1377685963, 1377685966, 1377685971, 1377685965, 1377685973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25385880470276 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:35:02.943639
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/08/image_17082025_05_09_08_10412.jpg', '/media/data/images/17082025/05/09/image_17082025_05_09_19_10344.jpg', '/media/data/images/17082025/05/09/image_17082025_05_09_28_9117.jpg', '/media/data/images/17082025/05/09/image_17082025_05_09_38_10356.jpg', '/media/data/images/17082025/05/09/image_17082025_05_09_48_10365.jpg', '/media/data/images/17082025/05/09/image_17082025_05_09_58_9143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/08/image_17082025_05_09_08_10412.jpg
/media/data/images/17082025/05/09/image_17082025_05_09_19_10344.jpg
/media/data/images/17082025/05/09/image_17082025_05_09_28_9117.jpg
/media/data/images/17082025/05/09/image_17082025_05_09_38_10356.jpg
/media/data/images/17082025/05/09/image_17082025_05_09_48_10365.jpg
/media/data/images/17082025/05/09/image_17082025_05_09_58_9143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685993","1377685978","1377685995","1377685980","1377685988","1377685991"],"photo_ids_order":["1377685978","1377685980","1377685988","1377685991","1377685993","1377685995"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56888f9dbfe4de986afc13e01d5b1416.jpg","text":"TemporaryFile(/tmp/multipartBody5258182409970036287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_48_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2f91450d80ae9efc53945d7925407db.jpg","text":"TemporaryFile(/tmp/multipartBody8484861183459783859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_08_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1d6ce366709dc45cc463d53fd27bde8.jpg","text":"TemporaryFile(/tmp/multipartBody1834221634114152165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_58_9143.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48329d174469c67077545fc3c6b8e385.jpg","text":"TemporaryFile(/tmp/multipartBody6077836948927238256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_19_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b2c88eeedfe9790177c754163ebbbd0.jpg","text":"TemporaryFile(/tmp/multipartBody3711376911353683602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_28_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c62137f9e007fb66a1fe53f2d1029fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5657327808971066127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452163939,"filename":"image_17082025_05_09_38_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685988","file1":"1377685980","file0":"1377685978","file4":"1377685993","file5":"1377685995","file3":"1377685991"},"map_files_photo_id_array":[{"photo_id":"1377685995","filename":"file5"},{"photo_id":"1377685988","filename":"file2"},{"photo_id":"1377685993","filename":"file4"},{"photo_id":"1377685980","filename":"file1"},{"photo_id":"1377685978","filename":"file0"},{"photo_id":"1377685991","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377685993":["hashtag1","hashtag2"]},{"1377685978":["hashtag1","hashtag2"]},{"1377685995":["hashtag1","hashtag2"]},{"1377685980":["hashtag1","hashtag2"]},{"1377685988":["hashtag1","hashtag2"]},{"1377685991":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377685993, 1377685978, 1377685995, 1377685980, 1377685988, 1377685991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34699487686157 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:36:02.897109
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/09/image_17082025_05_10_08_10668.jpg', '/media/data/images/17082025/05/10/image_17082025_05_10_19_10439.jpg', '/media/data/images/17082025/05/10/image_17082025_05_10_38_10335.jpg', '/media/data/images/17082025/05/10/image_17082025_05_10_49_10341.jpg', '/media/data/images/17082025/05/10/image_17082025_05_10_58_9105.jpg', '/media/data/images/17082025/05/11/image_17082025_05_11_28_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/09/image_17082025_05_10_08_10668.jpg
/media/data/images/17082025/05/10/image_17082025_05_10_19_10439.jpg
/media/data/images/17082025/05/10/image_17082025_05_10_38_10335.jpg
/media/data/images/17082025/05/10/image_17082025_05_10_49_10341.jpg
/media/data/images/17082025/05/10/image_17082025_05_10_58_9105.jpg
/media/data/images/17082025/05/11/image_17082025_05_11_28_9111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686016","1377686001","1377686019","1377686012","1377686021","1377686006"],"photo_ids_order":["1377686001","1377686006","1377686012","1377686016","1377686019","1377686021"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/abcdc2c29f2e4457db51e4ea883ffbf0.jpg","text":"TemporaryFile(/tmp/multipartBody4377741722805426802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_10_49_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/869c25f225a7c89ba45cf31ed9f8b06b.jpg","text":"TemporaryFile(/tmp/multipartBody1794872732814551015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_10_08_10668.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/027b318f3759c326f0191cff22911293.jpg","text":"TemporaryFile(/tmp/multipartBody8724391495351513064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_10_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/753c990f982a4b5246c1afa541f90688.jpg","text":"TemporaryFile(/tmp/multipartBody2325744902408534051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_10_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2417e300fa022e07a7d04f59b2fc92dc.jpg","text":"TemporaryFile(/tmp/multipartBody4265548146481638844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_11_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15256a43b2fbcb47f1ebe13f9adbc347.jpg","text":"TemporaryFile(/tmp/multipartBody5403517639814717740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452223896,"filename":"image_17082025_05_10_19_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686012","file1":"1377686006","file0":"1377686001","file4":"1377686019","file5":"1377686021","file3":"1377686016"},"map_files_photo_id_array":[{"photo_id":"1377686021","filename":"file5"},{"photo_id":"1377686012","filename":"file2"},{"photo_id":"1377686019","filename":"file4"},{"photo_id":"1377686006","filename":"file1"},{"photo_id":"1377686001","filename":"file0"},{"photo_id":"1377686016","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686016":["hashtag1","hashtag2"]},{"1377686001":["hashtag1","hashtag2"]},{"1377686019":["hashtag1","hashtag2"]},{"1377686012":["hashtag1","hashtag2"]},{"1377686021":["hashtag1","hashtag2"]},{"1377686006":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686016, 1377686001, 1377686019, 1377686012, 1377686021, 1377686006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.044734716415405 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:37:03.093733
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/11/image_17082025_05_11_38_10345.jpg', '/media/data/images/17082025/05/11/image_17082025_05_11_59_10436.jpg', '/media/data/images/17082025/05/12/image_17082025_05_12_08_8972.jpg', '/media/data/images/17082025/05/12/image_17082025_05_12_18_10378.jpg', '/media/data/images/17082025/05/12/image_17082025_05_12_28_10363.jpg', '/media/data/images/17082025/05/12/image_17082025_05_12_39_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/11/image_17082025_05_11_38_10345.jpg
/media/data/images/17082025/05/11/image_17082025_05_11_59_10436.jpg
/media/data/images/17082025/05/12/image_17082025_05_12_08_8972.jpg
/media/data/images/17082025/05/12/image_17082025_05_12_18_10378.jpg
/media/data/images/17082025/05/12/image_17082025_05_12_28_10363.jpg
/media/data/images/17082025/05/12/image_17082025_05_12_39_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686046","1377686040","1377686028","1377686043","1377686031","1377686048"],"photo_ids_order":["1377686028","1377686031","1377686040","1377686043","1377686046","1377686048"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/140764f6b4141edc3adc475c9a6c738b.jpg","text":"TemporaryFile(/tmp/multipartBody8627844792989225745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_12_28_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9986be52c40a849b7ee679da4ab1de9.jpg","text":"TemporaryFile(/tmp/multipartBody7533801134798309490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_12_08_8972.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a05b4ba0c1a7595d2596fecceaa0b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1359194704518885707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_11_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec9a6ef28f3e37c5e59029d3014d7252.jpg","text":"TemporaryFile(/tmp/multipartBody1465429751603024473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_12_18_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f455a817ad00146b76e838b22985f52.jpg","text":"TemporaryFile(/tmp/multipartBody6118950574297056727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_11_59_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0afbf096fb3362ea8d09fb9c3220411.jpg","text":"TemporaryFile(/tmp/multipartBody4836912976324150768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452284114,"filename":"image_17082025_05_12_39_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686040","file1":"1377686031","file0":"1377686028","file4":"1377686046","file5":"1377686048","file3":"1377686043"},"map_files_photo_id_array":[{"photo_id":"1377686048","filename":"file5"},{"photo_id":"1377686040","filename":"file2"},{"photo_id":"1377686046","filename":"file4"},{"photo_id":"1377686031","filename":"file1"},{"photo_id":"1377686028","filename":"file0"},{"photo_id":"1377686043","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686046":["hashtag1","hashtag2"]},{"1377686040":["hashtag1","hashtag2"]},{"1377686028":["hashtag1","hashtag2"]},{"1377686043":["hashtag1","hashtag2"]},{"1377686031":["hashtag1","hashtag2"]},{"1377686048":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686046, 1377686040, 1377686028, 1377686043, 1377686031, 1377686048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16953444480896 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:38:03.099038
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/12/image_17082025_05_12_48_9110.jpg', '/media/data/images/17082025/05/12/image_17082025_05_12_58_10349.jpg', '/media/data/images/17082025/05/13/image_17082025_05_13_09_10343.jpg', '/media/data/images/17082025/05/13/image_17082025_05_13_18_9131.jpg', '/media/data/images/17082025/05/13/image_17082025_05_13_28_10370.jpg', '/media/data/images/17082025/05/13/image_17082025_05_13_38_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/12/image_17082025_05_12_48_9110.jpg
/media/data/images/17082025/05/12/image_17082025_05_12_58_10349.jpg
/media/data/images/17082025/05/13/image_17082025_05_13_09_10343.jpg
/media/data/images/17082025/05/13/image_17082025_05_13_18_9131.jpg
/media/data/images/17082025/05/13/image_17082025_05_13_28_10370.jpg
/media/data/images/17082025/05/13/image_17082025_05_13_38_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686070","1377686064","1377686067","1377686055","1377686069","1377686071"],"photo_ids_order":["1377686055","1377686064","1377686067","1377686069","1377686070","1377686071"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/675e20b8dcd33e713c5b4cfbb154731d.jpg","text":"TemporaryFile(/tmp/multipartBody1662932680995207296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_13_28_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/044a507c64ef126101749c3116e3fcae.jpg","text":"TemporaryFile(/tmp/multipartBody7311840976706226021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_12_58_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6032f96adcc9fd8cbcdf558c26a34538.jpg","text":"TemporaryFile(/tmp/multipartBody4455185405614534772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_13_09_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1f7bc81e1a489533d8a9459056bdb15.jpg","text":"TemporaryFile(/tmp/multipartBody1512411944033372440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_12_48_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/103676ffe852d6866c41a345148bcf85.jpg","text":"TemporaryFile(/tmp/multipartBody1403350080384130925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_13_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e86b07bea7b7268c55e6895b6db8f72c.jpg","text":"TemporaryFile(/tmp/multipartBody7017566408488469317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452344072,"filename":"image_17082025_05_13_38_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686067","file1":"1377686064","file0":"1377686055","file4":"1377686070","file5":"1377686071","file3":"1377686069"},"map_files_photo_id_array":[{"photo_id":"1377686071","filename":"file5"},{"photo_id":"1377686067","filename":"file2"},{"photo_id":"1377686070","filename":"file4"},{"photo_id":"1377686064","filename":"file1"},{"photo_id":"1377686055","filename":"file0"},{"photo_id":"1377686069","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686070":["hashtag1","hashtag2"]},{"1377686064":["hashtag1","hashtag2"]},{"1377686067":["hashtag1","hashtag2"]},{"1377686055":["hashtag1","hashtag2"]},{"1377686069":["hashtag1","hashtag2"]},{"1377686071":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686070, 1377686064, 1377686067, 1377686055, 1377686069, 1377686071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55248165130615 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:39:03.516829
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/13/image_17082025_05_13_49_10376.jpg', '/media/data/images/17082025/05/13/image_17082025_05_13_58_9109.jpg', '/media/data/images/17082025/05/13/image_17082025_05_14_09_10726.jpg', '/media/data/images/17082025/05/14/image_17082025_05_14_18_9132.jpg', '/media/data/images/17082025/05/14/image_17082025_05_14_48_9205.jpg', '/media/data/images/17082025/05/14/image_17082025_05_14_58_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/13/image_17082025_05_13_49_10376.jpg
/media/data/images/17082025/05/13/image_17082025_05_13_58_9109.jpg
/media/data/images/17082025/05/13/image_17082025_05_14_09_10726.jpg
/media/data/images/17082025/05/14/image_17082025_05_14_18_9132.jpg
/media/data/images/17082025/05/14/image_17082025_05_14_48_9205.jpg
/media/data/images/17082025/05/14/image_17082025_05_14_58_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686082","1377686091","1377686093","1377686095","1377686089","1377686080"],"photo_ids_order":["1377686080","1377686082","1377686089","1377686091","1377686093","1377686095"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4dd23bd4c3e24aca85284a859443cd7e.jpg","text":"TemporaryFile(/tmp/multipartBody7675174543179209724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_13_58_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8cf8478ba142755897bf1eb5f9bec435.jpg","text":"TemporaryFile(/tmp/multipartBody223234750402387804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_14_18_9132.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f43b95369316e134d837f5cf294b799c.jpg","text":"TemporaryFile(/tmp/multipartBody1377403438949868034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_14_48_9205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e074b3a53238f0632a7906f4111c757.jpg","text":"TemporaryFile(/tmp/multipartBody130691965025328507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_14_58_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/933dc635cb2bee5f8de112a90b8fcc64.jpg","text":"TemporaryFile(/tmp/multipartBody4169924227601434010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_14_09_10726.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/512c8d611a1ca92488d71be1e7495573.jpg","text":"TemporaryFile(/tmp/multipartBody9182486956704156280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452404496,"filename":"image_17082025_05_13_49_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686089","file1":"1377686082","file0":"1377686080","file4":"1377686093","file5":"1377686095","file3":"1377686091"},"map_files_photo_id_array":[{"photo_id":"1377686095","filename":"file5"},{"photo_id":"1377686089","filename":"file2"},{"photo_id":"1377686093","filename":"file4"},{"photo_id":"1377686082","filename":"file1"},{"photo_id":"1377686080","filename":"file0"},{"photo_id":"1377686091","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686082":["hashtag1","hashtag2"]},{"1377686091":["hashtag1","hashtag2"]},{"1377686093":["hashtag1","hashtag2"]},{"1377686095":["hashtag1","hashtag2"]},{"1377686089":["hashtag1","hashtag2"]},{"1377686080":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686082, 1377686091, 1377686093, 1377686095, 1377686089, 1377686080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68620419502258 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:40:02.289415
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/15/image_17082025_05_15_09_10389.jpg', '/media/data/images/17082025/05/15/image_17082025_05_15_18_9256.jpg', '/media/data/images/17082025/05/15/image_17082025_05_15_28_10441.jpg', '/media/data/images/17082025/05/15/image_17082025_05_15_48_9149.jpg', '/media/data/images/17082025/05/15/image_17082025_05_15_58_10446.jpg', '/media/data/images/17082025/05/16/image_17082025_05_16_09_10212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/15/image_17082025_05_15_09_10389.jpg
/media/data/images/17082025/05/15/image_17082025_05_15_18_9256.jpg
/media/data/images/17082025/05/15/image_17082025_05_15_28_10441.jpg
/media/data/images/17082025/05/15/image_17082025_05_15_48_9149.jpg
/media/data/images/17082025/05/15/image_17082025_05_15_58_10446.jpg
/media/data/images/17082025/05/16/image_17082025_05_16_09_10212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686116","1377686119","1377686107","1377686121","1377686103","1377686114"],"photo_ids_order":["1377686103","1377686107","1377686114","1377686116","1377686119","1377686121"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/42fd9a48effc24d3e50e83f2c19c3804.jpg","text":"TemporaryFile(/tmp/multipartBody8633804704095124805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_15_48_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9f5dca5e83779b6e63b54f262fdea57.jpg","text":"TemporaryFile(/tmp/multipartBody3429434587211577130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_15_58_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1258ddd3cf90a7e68485d83916561144.jpg","text":"TemporaryFile(/tmp/multipartBody3591567870011287781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_15_18_9256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cdc16b4fed615f2303dce88f1808a14e.jpg","text":"TemporaryFile(/tmp/multipartBody2016468156479759134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_16_09_10212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f07faa96f555e0684a11d055c4878a3.jpg","text":"TemporaryFile(/tmp/multipartBody5716639534377454441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_15_09_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d793734bd71ffb2f0a7d7e4a91ef3f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1616506060873974815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452463269,"filename":"image_17082025_05_15_28_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686114","file1":"1377686107","file0":"1377686103","file4":"1377686119","file5":"1377686121","file3":"1377686116"},"map_files_photo_id_array":[{"photo_id":"1377686121","filename":"file5"},{"photo_id":"1377686114","filename":"file2"},{"photo_id":"1377686119","filename":"file4"},{"photo_id":"1377686107","filename":"file1"},{"photo_id":"1377686103","filename":"file0"},{"photo_id":"1377686116","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686116":["hashtag1","hashtag2"]},{"1377686119":["hashtag1","hashtag2"]},{"1377686107":["hashtag1","hashtag2"]},{"1377686121":["hashtag1","hashtag2"]},{"1377686103":["hashtag1","hashtag2"]},{"1377686114":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686116, 1377686119, 1377686107, 1377686121, 1377686103, 1377686114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84785461425781 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:41:02.630520
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/16/image_17082025_05_16_18_9132.jpg', '/media/data/images/17082025/05/16/image_17082025_05_16_28_10604.jpg', '/media/data/images/17082025/05/16/image_17082025_05_16_39_10391.jpg', '/media/data/images/17082025/05/16/image_17082025_05_16_48_9253.jpg', '/media/data/images/17082025/05/16/image_17082025_05_16_58_10367.jpg', '/media/data/images/17082025/05/17/image_17082025_05_17_18_9203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/16/image_17082025_05_16_18_9132.jpg
/media/data/images/17082025/05/16/image_17082025_05_16_28_10604.jpg
/media/data/images/17082025/05/16/image_17082025_05_16_39_10391.jpg
/media/data/images/17082025/05/16/image_17082025_05_16_48_9253.jpg
/media/data/images/17082025/05/16/image_17082025_05_16_58_10367.jpg
/media/data/images/17082025/05/17/image_17082025_05_17_18_9203.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686143","1377686146","1377686147","1377686132","1377686141","1377686129"],"photo_ids_order":["1377686129","1377686132","1377686141","1377686143","1377686146","1377686147"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dfe9e2f528b76cb95a4d26373d6f00a.jpg","text":"TemporaryFile(/tmp/multipartBody3427345409651123640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_16_48_9253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccbe6a57bfe10fb25a23a411b4b5b75c.jpg","text":"TemporaryFile(/tmp/multipartBody2093583149314748457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_16_58_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04e3123669654f8b4fd9551d314aed23.jpg","text":"TemporaryFile(/tmp/multipartBody4021695949802219203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_17_18_9203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a829cdc2b53e21260b528905c1b41c0.jpg","text":"TemporaryFile(/tmp/multipartBody6839624626658825185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_16_28_10604.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e6a571c0f4f14e0b7b45dbcab39acda.jpg","text":"TemporaryFile(/tmp/multipartBody7699377111389633330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_16_39_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33bf041761ad2c812a736f929b005d02.jpg","text":"TemporaryFile(/tmp/multipartBody7845796565994376785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452523614,"filename":"image_17082025_05_16_18_9132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686141","file1":"1377686132","file0":"1377686129","file4":"1377686146","file5":"1377686147","file3":"1377686143"},"map_files_photo_id_array":[{"photo_id":"1377686147","filename":"file5"},{"photo_id":"1377686141","filename":"file2"},{"photo_id":"1377686146","filename":"file4"},{"photo_id":"1377686132","filename":"file1"},{"photo_id":"1377686129","filename":"file0"},{"photo_id":"1377686143","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686143":["hashtag1","hashtag2"]},{"1377686146":["hashtag1","hashtag2"]},{"1377686147":["hashtag1","hashtag2"]},{"1377686132":["hashtag1","hashtag2"]},{"1377686141":["hashtag1","hashtag2"]},{"1377686129":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686143, 1377686146, 1377686147, 1377686132, 1377686141, 1377686129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78576993942261 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:42:02.552452
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/17/image_17082025_05_17_28_10406.jpg', '/media/data/images/17082025/05/17/image_17082025_05_17_48_9124.jpg', '/media/data/images/17082025/05/17/image_17082025_05_18_09_10557.jpg', '/media/data/images/17082025/05/18/image_17082025_05_18_18_9149.jpg', '/media/data/images/17082025/05/18/image_17082025_05_18_28_10450.jpg', '/media/data/images/17082025/05/18/image_17082025_05_18_39_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/17/image_17082025_05_17_28_10406.jpg
/media/data/images/17082025/05/17/image_17082025_05_17_48_9124.jpg
/media/data/images/17082025/05/17/image_17082025_05_18_09_10557.jpg
/media/data/images/17082025/05/18/image_17082025_05_18_18_9149.jpg
/media/data/images/17082025/05/18/image_17082025_05_18_28_10450.jpg
/media/data/images/17082025/05/18/image_17082025_05_18_39_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686172","1377686160","1377686174","1377686156","1377686170","1377686167"],"photo_ids_order":["1377686156","1377686160","1377686167","1377686170","1377686172","1377686174"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c589207495a34c4ec323f942320374c9.jpg","text":"TemporaryFile(/tmp/multipartBody6993060179599367600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_18_28_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57c339324ee8db0314c9c32f741ed5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7191655900900347530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_17_48_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6254ce7cd903100ea5de249c9e13b8b7.jpg","text":"TemporaryFile(/tmp/multipartBody3289944823466191672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_18_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c7581826860008886812195b0862be7.jpg","text":"TemporaryFile(/tmp/multipartBody6784699971707374058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_17_28_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b0c86d0649778f4d1b51dacb4adeedd.jpg","text":"TemporaryFile(/tmp/multipartBody5849572805452321560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_18_18_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e2120285f12fdb419dfd99e02da34aa.jpg","text":"TemporaryFile(/tmp/multipartBody3261255130034192935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452583550,"filename":"image_17082025_05_18_09_10557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686167","file1":"1377686160","file0":"1377686156","file4":"1377686172","file5":"1377686174","file3":"1377686170"},"map_files_photo_id_array":[{"photo_id":"1377686174","filename":"file5"},{"photo_id":"1377686167","filename":"file2"},{"photo_id":"1377686172","filename":"file4"},{"photo_id":"1377686160","filename":"file1"},{"photo_id":"1377686156","filename":"file0"},{"photo_id":"1377686170","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686172":["hashtag1","hashtag2"]},{"1377686160":["hashtag1","hashtag2"]},{"1377686174":["hashtag1","hashtag2"]},{"1377686156":["hashtag1","hashtag2"]},{"1377686170":["hashtag1","hashtag2"]},{"1377686167":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686172, 1377686160, 1377686174, 1377686156, 1377686170, 1377686167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17816996574402 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:43:02.728005
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/19/image_17082025_05_19_18_9220.jpg', '/media/data/images/17082025/05/19/image_17082025_05_19_28_10478.jpg', '/media/data/images/17082025/05/19/image_17082025_05_19_39_10546.jpg', '/media/data/images/17082025/05/19/image_17082025_05_19_48_9199.jpg', '/media/data/images/17082025/05/19/image_17082025_05_19_58_10472.jpg', '/media/data/images/17082025/05/20/image_17082025_05_20_09_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/19/image_17082025_05_19_18_9220.jpg
/media/data/images/17082025/05/19/image_17082025_05_19_28_10478.jpg
/media/data/images/17082025/05/19/image_17082025_05_19_39_10546.jpg
/media/data/images/17082025/05/19/image_17082025_05_19_48_9199.jpg
/media/data/images/17082025/05/19/image_17082025_05_19_58_10472.jpg
/media/data/images/17082025/05/20/image_17082025_05_20_09_10250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686199","1377686193","1377686186","1377686195","1377686197","1377686185"],"photo_ids_order":["1377686185","1377686186","1377686193","1377686195","1377686197","1377686199"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56779134639210e230a3ee7acd53670e.jpg","text":"TemporaryFile(/tmp/multipartBody8021047860342263144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_20_09_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4e03517c3721552a0a29d919c3b1c06.jpg","text":"TemporaryFile(/tmp/multipartBody8195375385095535990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_19_39_10546.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bb4fb6cc368ad944ed949d5f3222ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8385876082903787061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_19_28_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49e6dc0c9b2d9021860969370818caed.jpg","text":"TemporaryFile(/tmp/multipartBody1057597163332800306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_19_48_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0021673c5ec746490d0f959149a8facb.jpg","text":"TemporaryFile(/tmp/multipartBody3636409795520428101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_19_58_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9bf45da96c293f6123e0928ad8107455.jpg","text":"TemporaryFile(/tmp/multipartBody5693351592151735586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452643733,"filename":"image_17082025_05_19_18_9220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686193","file1":"1377686186","file0":"1377686185","file4":"1377686197","file5":"1377686199","file3":"1377686195"},"map_files_photo_id_array":[{"photo_id":"1377686199","filename":"file5"},{"photo_id":"1377686193","filename":"file2"},{"photo_id":"1377686197","filename":"file4"},{"photo_id":"1377686186","filename":"file1"},{"photo_id":"1377686185","filename":"file0"},{"photo_id":"1377686195","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686199":["hashtag1","hashtag2"]},{"1377686193":["hashtag1","hashtag2"]},{"1377686186":["hashtag1","hashtag2"]},{"1377686195":["hashtag1","hashtag2"]},{"1377686197":["hashtag1","hashtag2"]},{"1377686185":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686199, 1377686193, 1377686186, 1377686195, 1377686197, 1377686185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39565873146057 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:44:02.818251
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/20/image_17082025_05_20_18_9114.jpg', '/media/data/images/17082025/05/20/image_17082025_05_20_28_10343.jpg', '/media/data/images/17082025/05/20/image_17082025_05_20_38_10392.jpg', '/media/data/images/17082025/05/20/image_17082025_05_20_49_10335.jpg', '/media/data/images/17082025/05/20/image_17082025_05_20_58_9382.jpg', '/media/data/images/17082025/05/21/image_17082025_05_21_28_9153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/20/image_17082025_05_20_18_9114.jpg
/media/data/images/17082025/05/20/image_17082025_05_20_28_10343.jpg
/media/data/images/17082025/05/20/image_17082025_05_20_38_10392.jpg
/media/data/images/17082025/05/20/image_17082025_05_20_49_10335.jpg
/media/data/images/17082025/05/20/image_17082025_05_20_58_9382.jpg
/media/data/images/17082025/05/21/image_17082025_05_21_28_9153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686230","1377686218","1377686209","1377686220","1377686223","1377686228"],"photo_ids_order":["1377686209","1377686218","1377686220","1377686223","1377686228","1377686230"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d803a4bfb56e1f56f6cefbc9919867e.jpg","text":"TemporaryFile(/tmp/multipartBody4610255163715799682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_21_28_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5951e0640b591c8539bd8ecec8ea3c0.jpg","text":"TemporaryFile(/tmp/multipartBody4529270090328239147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_20_28_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9f7ac0c0be509d0a27c976bbd317f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7452659438260191232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_20_18_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b12adc809ee6458b8a9d2de632a9f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody7845917012257709009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_20_38_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b38fba4f6d31be06e9a78b483b98302.jpg","text":"TemporaryFile(/tmp/multipartBody5456845224372592584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_20_49_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/72a7cb28a6c1f311acb60137666ec326.jpg","text":"TemporaryFile(/tmp/multipartBody8639961754348012760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452705010,"filename":"image_17082025_05_20_58_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686220","file1":"1377686218","file0":"1377686209","file4":"1377686228","file5":"1377686230","file3":"1377686223"},"map_files_photo_id_array":[{"photo_id":"1377686230","filename":"file5"},{"photo_id":"1377686220","filename":"file2"},{"photo_id":"1377686228","filename":"file4"},{"photo_id":"1377686218","filename":"file1"},{"photo_id":"1377686209","filename":"file0"},{"photo_id":"1377686223","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686230":["hashtag1","hashtag2"]},{"1377686218":["hashtag1","hashtag2"]},{"1377686209":["hashtag1","hashtag2"]},{"1377686220":["hashtag1","hashtag2"]},{"1377686223":["hashtag1","hashtag2"]},{"1377686228":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686230, 1377686218, 1377686209, 1377686220, 1377686223, 1377686228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08576440811157 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:45:02.874604
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/21/image_17082025_05_21_38_10331.jpg', '/media/data/images/17082025/05/21/image_17082025_05_21_49_10336.jpg', '/media/data/images/17082025/05/21/image_17082025_05_21_58_9202.jpg', '/media/data/images/17082025/05/21/image_17082025_05_22_08_10569.jpg', '/media/data/images/17082025/05/22/image_17082025_05_22_28_9135.jpg', '/media/data/images/17082025/05/22/image_17082025_05_22_38_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/21/image_17082025_05_21_38_10331.jpg
/media/data/images/17082025/05/21/image_17082025_05_21_49_10336.jpg
/media/data/images/17082025/05/21/image_17082025_05_21_58_9202.jpg
/media/data/images/17082025/05/21/image_17082025_05_22_08_10569.jpg
/media/data/images/17082025/05/22/image_17082025_05_22_28_9135.jpg
/media/data/images/17082025/05/22/image_17082025_05_22_38_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686255","1377686249","1377686240","1377686258","1377686237","1377686252"],"photo_ids_order":["1377686237","1377686240","1377686249","1377686252","1377686255","1377686258"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa12838ab218d6541b88bb61e6c43354.jpg","text":"TemporaryFile(/tmp/multipartBody75161354530831432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_22_28_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b690c78bb3afaee6cfb9e981344cf50.jpg","text":"TemporaryFile(/tmp/multipartBody2770947442369323267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_21_58_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/775b615bb9615eca252394016a070c08.jpg","text":"TemporaryFile(/tmp/multipartBody8405464645190216359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_21_49_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ef1c014097d1256d33d8b1c57790c20.jpg","text":"TemporaryFile(/tmp/multipartBody198662622224753463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_22_38_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/35db94157a785f357bf7cf6b996eb607.jpg","text":"TemporaryFile(/tmp/multipartBody8644568904898840852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_21_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a524b3b0c090e7665258f2de053f82c.jpg","text":"TemporaryFile(/tmp/multipartBody7502711891704474437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452763869,"filename":"image_17082025_05_22_08_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686249","file1":"1377686240","file0":"1377686237","file4":"1377686255","file5":"1377686258","file3":"1377686252"},"map_files_photo_id_array":[{"photo_id":"1377686258","filename":"file5"},{"photo_id":"1377686249","filename":"file2"},{"photo_id":"1377686255","filename":"file4"},{"photo_id":"1377686240","filename":"file1"},{"photo_id":"1377686237","filename":"file0"},{"photo_id":"1377686252","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686255":["hashtag1","hashtag2"]},{"1377686249":["hashtag1","hashtag2"]},{"1377686240":["hashtag1","hashtag2"]},{"1377686258":["hashtag1","hashtag2"]},{"1377686237":["hashtag1","hashtag2"]},{"1377686252":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686255, 1377686249, 1377686240, 1377686258, 1377686237, 1377686252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.045679569244385 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:46:02.948453
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/22/image_17082025_05_22_49_10482.jpg', '/media/data/images/17082025/05/22/image_17082025_05_22_58_9114.jpg', '/media/data/images/17082025/05/22/image_17082025_05_23_08_10511.jpg', '/media/data/images/17082025/05/23/image_17082025_05_23_28_9145.jpg', '/media/data/images/17082025/05/23/image_17082025_05_23_38_10418.jpg', '/media/data/images/17082025/05/23/image_17082025_05_23_58_9113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/22/image_17082025_05_22_49_10482.jpg
/media/data/images/17082025/05/22/image_17082025_05_22_58_9114.jpg
/media/data/images/17082025/05/22/image_17082025_05_23_08_10511.jpg
/media/data/images/17082025/05/23/image_17082025_05_23_28_9145.jpg
/media/data/images/17082025/05/23/image_17082025_05_23_38_10418.jpg
/media/data/images/17082025/05/23/image_17082025_05_23_58_9113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686275","1377686274","1377686262","1377686273","1377686267","1377686276"],"photo_ids_order":["1377686262","1377686267","1377686273","1377686274","1377686275","1377686276"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d4b16699d85798a0126a4d1e0428a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8454164319328675506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_23_38_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e11f351e1db5f6a8e1341e1f94ec87b.jpg","text":"TemporaryFile(/tmp/multipartBody2729304278711949588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_23_28_9145.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0e4a28483f7c03dd89a16101433c2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6514262106604451549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_22_49_10482.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3f25cd3ba0f869515591e4e35bdaa8c.jpg","text":"TemporaryFile(/tmp/multipartBody3976740129020833815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_23_08_10511.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/495fcc01e672c993da052e889db5b7c8.jpg","text":"TemporaryFile(/tmp/multipartBody3984852842047402174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_22_58_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71047acf7fbf754cbf973546cc2e5288.jpg","text":"TemporaryFile(/tmp/multipartBody3945285101109168759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452823965,"filename":"image_17082025_05_23_58_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686273","file1":"1377686267","file0":"1377686262","file4":"1377686275","file5":"1377686276","file3":"1377686274"},"map_files_photo_id_array":[{"photo_id":"1377686276","filename":"file5"},{"photo_id":"1377686273","filename":"file2"},{"photo_id":"1377686275","filename":"file4"},{"photo_id":"1377686267","filename":"file1"},{"photo_id":"1377686262","filename":"file0"},{"photo_id":"1377686274","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686275":["hashtag1","hashtag2"]},{"1377686274":["hashtag1","hashtag2"]},{"1377686262":["hashtag1","hashtag2"]},{"1377686273":["hashtag1","hashtag2"]},{"1377686267":["hashtag1","hashtag2"]},{"1377686276":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686275, 1377686274, 1377686262, 1377686273, 1377686267, 1377686276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.095091581344604 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:47:03.327590
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/24/image_17082025_05_24_19_10443.jpg', '/media/data/images/17082025/05/24/image_17082025_05_24_49_10339.jpg', '/media/data/images/17082025/05/24/image_17082025_05_24_58_9150.jpg', '/media/data/images/17082025/05/25/image_17082025_05_25_38_10401.jpg', '/media/data/images/17082025/05/25/image_17082025_05_25_58_9112.jpg', '/media/data/images/17082025/05/25/image_17082025_05_26_08_10521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/24/image_17082025_05_24_19_10443.jpg
/media/data/images/17082025/05/24/image_17082025_05_24_49_10339.jpg
/media/data/images/17082025/05/24/image_17082025_05_24_58_9150.jpg
/media/data/images/17082025/05/25/image_17082025_05_25_38_10401.jpg
/media/data/images/17082025/05/25/image_17082025_05_25_58_9112.jpg
/media/data/images/17082025/05/25/image_17082025_05_26_08_10521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686298","1377686301","1377686304","1377686296","1377686290","1377686287"],"photo_ids_order":["1377686287","1377686290","1377686296","1377686298","1377686301","1377686304"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b965cd9676ec77f2b6e6f005104403a8.jpg","text":"TemporaryFile(/tmp/multipartBody1551104708009845047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_25_38_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/914ab773a927a6f366dd104c5414ad62.jpg","text":"TemporaryFile(/tmp/multipartBody6576377613478471487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_25_58_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8dd242f54805bfe01eee88595baf89d7.jpg","text":"TemporaryFile(/tmp/multipartBody8197331035754014215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_26_08_10521.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad2fd94308dc1f02895011fcf216ea30.jpg","text":"TemporaryFile(/tmp/multipartBody7137884075537895684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_24_58_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c3ff4e05d52e5608e80ad158aab4f14.jpg","text":"TemporaryFile(/tmp/multipartBody7434723889940032685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_24_49_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d2e0aa97d3cbecf16e1a9b2160e8c33.jpg","text":"TemporaryFile(/tmp/multipartBody5213512893968557322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452884306,"filename":"image_17082025_05_24_19_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686296","file1":"1377686290","file0":"1377686287","file4":"1377686301","file5":"1377686304","file3":"1377686298"},"map_files_photo_id_array":[{"photo_id":"1377686304","filename":"file5"},{"photo_id":"1377686296","filename":"file2"},{"photo_id":"1377686301","filename":"file4"},{"photo_id":"1377686290","filename":"file1"},{"photo_id":"1377686287","filename":"file0"},{"photo_id":"1377686298","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686298":["hashtag1","hashtag2"]},{"1377686301":["hashtag1","hashtag2"]},{"1377686304":["hashtag1","hashtag2"]},{"1377686296":["hashtag1","hashtag2"]},{"1377686290":["hashtag1","hashtag2"]},{"1377686287":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686298, 1377686301, 1377686304, 1377686296, 1377686290, 1377686287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7401807308197 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:48:02.971094
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/26/image_17082025_05_26_28_9240.jpg', '/media/data/images/17082025/05/26/image_17082025_05_26_38_10423.jpg', '/media/data/images/17082025/05/26/image_17082025_05_26_49_10353.jpg', '/media/data/images/17082025/05/26/image_17082025_05_26_58_9164.jpg', '/media/data/images/17082025/05/26/image_17082025_05_27_08_10478.jpg', '/media/data/images/17082025/05/27/image_17082025_05_28_08_10710.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/26/image_17082025_05_26_28_9240.jpg
/media/data/images/17082025/05/26/image_17082025_05_26_38_10423.jpg
/media/data/images/17082025/05/26/image_17082025_05_26_49_10353.jpg
/media/data/images/17082025/05/26/image_17082025_05_26_58_9164.jpg
/media/data/images/17082025/05/26/image_17082025_05_27_08_10478.jpg
/media/data/images/17082025/05/27/image_17082025_05_28_08_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686329","1377686326","1377686331","1377686313","1377686321","1377686333"],"photo_ids_order":["1377686313","1377686321","1377686326","1377686329","1377686331","1377686333"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6ef04c5c9d77aa3ed7427a578622dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5554593635749060511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_26_58_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c7bed5493d1b5df3ba94a7773bc053c.jpg","text":"TemporaryFile(/tmp/multipartBody530955456925557994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_26_49_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71968a3f932b3372414260aea1494839.jpg","text":"TemporaryFile(/tmp/multipartBody2847234796558447109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_27_08_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e89af5ba15930d3aabe977992ffdfc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7695161941589483019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_26_28_9240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ab0a4c6806a85474e586cb4406e33b5.jpg","text":"TemporaryFile(/tmp/multipartBody6363712315178858837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_26_38_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0825edbe1d01cdb418ca648f52fc762.jpg","text":"TemporaryFile(/tmp/multipartBody8537350085416358937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452943963,"filename":"image_17082025_05_28_08_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686326","file1":"1377686321","file0":"1377686313","file4":"1377686331","file5":"1377686333","file3":"1377686329"},"map_files_photo_id_array":[{"photo_id":"1377686333","filename":"file5"},{"photo_id":"1377686326","filename":"file2"},{"photo_id":"1377686331","filename":"file4"},{"photo_id":"1377686321","filename":"file1"},{"photo_id":"1377686313","filename":"file0"},{"photo_id":"1377686329","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686329":["hashtag1","hashtag2"]},{"1377686326":["hashtag1","hashtag2"]},{"1377686331":["hashtag1","hashtag2"]},{"1377686313":["hashtag1","hashtag2"]},{"1377686321":["hashtag1","hashtag2"]},{"1377686333":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686329, 1377686326, 1377686331, 1377686313, 1377686321, 1377686333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.839969635009766 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:49:02.604058
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/28/image_17082025_05_28_28_9262.jpg', '/media/data/images/17082025/05/28/image_17082025_05_28_38_10341.jpg', '/media/data/images/17082025/05/28/image_17082025_05_28_49_10432.jpg', '/media/data/images/17082025/05/28/image_17082025_05_28_58_9108.jpg', '/media/data/images/17082025/05/28/image_17082025_05_29_08_10398.jpg', '/media/data/images/17082025/05/29/image_17082025_05_29_19_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/28/image_17082025_05_28_28_9262.jpg
/media/data/images/17082025/05/28/image_17082025_05_28_38_10341.jpg
/media/data/images/17082025/05/28/image_17082025_05_28_49_10432.jpg
/media/data/images/17082025/05/28/image_17082025_05_28_58_9108.jpg
/media/data/images/17082025/05/28/image_17082025_05_29_08_10398.jpg
/media/data/images/17082025/05/29/image_17082025_05_29_19_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686356","1377686358","1377686343","1377686337","1377686352","1377686354"],"photo_ids_order":["1377686337","1377686343","1377686352","1377686354","1377686356","1377686358"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61552232b1511dba616d55c692c4e71d.jpg","text":"TemporaryFile(/tmp/multipartBody790592576644701629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_29_08_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/785f95352301542881c2ee3aba7c564c.jpg","text":"TemporaryFile(/tmp/multipartBody2875615825699336301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_29_19_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b33b805d71da87b6cec6bbb78fdb9d3b.jpg","text":"TemporaryFile(/tmp/multipartBody122930848817200157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_28_38_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e6400216fd70ea052bb32e06ef5416c.jpg","text":"TemporaryFile(/tmp/multipartBody8025055725001084298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_28_28_9262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/660b27bff7344b310cadd4daa528e442.jpg","text":"TemporaryFile(/tmp/multipartBody5847189380690026958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_28_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6deb5acfe58610388a210f6413396187.jpg","text":"TemporaryFile(/tmp/multipartBody4934787520566012232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453003595,"filename":"image_17082025_05_28_58_9108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686352","file1":"1377686343","file0":"1377686337","file4":"1377686356","file5":"1377686358","file3":"1377686354"},"map_files_photo_id_array":[{"photo_id":"1377686358","filename":"file5"},{"photo_id":"1377686352","filename":"file2"},{"photo_id":"1377686356","filename":"file4"},{"photo_id":"1377686343","filename":"file1"},{"photo_id":"1377686337","filename":"file0"},{"photo_id":"1377686354","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686356":["hashtag1","hashtag2"]},{"1377686358":["hashtag1","hashtag2"]},{"1377686343":["hashtag1","hashtag2"]},{"1377686337":["hashtag1","hashtag2"]},{"1377686352":["hashtag1","hashtag2"]},{"1377686354":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686356, 1377686358, 1377686343, 1377686337, 1377686352, 1377686354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98095989227295 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:50:02.463342
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/29/image_17082025_05_29_58_9120.jpg', '/media/data/images/17082025/05/30/image_17082025_05_30_18_9114.jpg', '/media/data/images/17082025/05/30/image_17082025_05_30_28_10344.jpg', '/media/data/images/17082025/05/30/image_17082025_05_30_38_10429.jpg', '/media/data/images/17082025/05/30/image_17082025_05_30_49_10349.jpg', '/media/data/images/17082025/05/30/image_17082025_05_30_58_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/29/image_17082025_05_29_58_9120.jpg
/media/data/images/17082025/05/30/image_17082025_05_30_18_9114.jpg
/media/data/images/17082025/05/30/image_17082025_05_30_28_10344.jpg
/media/data/images/17082025/05/30/image_17082025_05_30_38_10429.jpg
/media/data/images/17082025/05/30/image_17082025_05_30_49_10349.jpg
/media/data/images/17082025/05/30/image_17082025_05_30_58_9110.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686374","1377686368","1377686362","1377686372","1377686375","1377686377"],"photo_ids_order":["1377686362","1377686368","1377686372","1377686374","1377686375","1377686377"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d5ef57ee1f545b07ec8c088d0e5d212.jpg","text":"TemporaryFile(/tmp/multipartBody2310348700500573890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_30_38_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3016b1f9151d368d76504762f86b5178.jpg","text":"TemporaryFile(/tmp/multipartBody3300710651241794848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_30_18_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4aecc1a0c58ae395d4b6916774b4b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3295485919248209177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_29_58_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7ea92a5349acc85ec0ceff3c87123dc.jpg","text":"TemporaryFile(/tmp/multipartBody1969389767311807927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_30_28_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bffcc3bec7f1da01e1d2ec479eeeb7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2054739654853414109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_30_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/974ed1bdb7dc820020789a85183322ce.jpg","text":"TemporaryFile(/tmp/multipartBody6458647176592522081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453063437,"filename":"image_17082025_05_30_58_9110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686372","file1":"1377686368","file0":"1377686362","file4":"1377686375","file5":"1377686377","file3":"1377686374"},"map_files_photo_id_array":[{"photo_id":"1377686377","filename":"file5"},{"photo_id":"1377686372","filename":"file2"},{"photo_id":"1377686375","filename":"file4"},{"photo_id":"1377686368","filename":"file1"},{"photo_id":"1377686362","filename":"file0"},{"photo_id":"1377686374","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686374":["hashtag1","hashtag2"]},{"1377686368":["hashtag1","hashtag2"]},{"1377686362":["hashtag1","hashtag2"]},{"1377686372":["hashtag1","hashtag2"]},{"1377686375":["hashtag1","hashtag2"]},{"1377686377":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686374, 1377686368, 1377686362, 1377686372, 1377686375, 1377686377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.657251596450806 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:51:02.717645
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/30/image_17082025_05_31_08_10578.jpg', '/media/data/images/17082025/05/31/image_17082025_05_31_18_9186.jpg', '/media/data/images/17082025/05/31/image_17082025_05_31_38_10344.jpg', '/media/data/images/17082025/05/31/image_17082025_05_31_49_10332.jpg', '/media/data/images/17082025/05/31/image_17082025_05_31_58_9175.jpg', '/media/data/images/17082025/05/31/image_17082025_05_32_08_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/30/image_17082025_05_31_08_10578.jpg
/media/data/images/17082025/05/31/image_17082025_05_31_18_9186.jpg
/media/data/images/17082025/05/31/image_17082025_05_31_38_10344.jpg
/media/data/images/17082025/05/31/image_17082025_05_31_49_10332.jpg
/media/data/images/17082025/05/31/image_17082025_05_31_58_9175.jpg
/media/data/images/17082025/05/31/image_17082025_05_32_08_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686401","1377686388","1377686397","1377686399","1377686395","1377686386"],"photo_ids_order":["1377686386","1377686388","1377686395","1377686397","1377686399","1377686401"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecc16e8b80b10c432da1d951d571539b.jpg","text":"TemporaryFile(/tmp/multipartBody6612782321852877894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_32_08_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c42e745aa26315d8d6bd045086e77da.jpg","text":"TemporaryFile(/tmp/multipartBody4377734717075033545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_31_18_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50fc9b02dfa04c6ae3de30ba726a0754.jpg","text":"TemporaryFile(/tmp/multipartBody9013631356812239824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_31_49_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd48b087ebe818be6054f0f411252f51.jpg","text":"TemporaryFile(/tmp/multipartBody4634888501521504585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_31_58_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5182320a937a99dc73d2c5554022738d.jpg","text":"TemporaryFile(/tmp/multipartBody2563162847525739666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_31_38_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e2685df91e8a568b1dcd9bcab8ada19.jpg","text":"TemporaryFile(/tmp/multipartBody3942363613375507475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453123707,"filename":"image_17082025_05_31_08_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686395","file1":"1377686388","file0":"1377686386","file4":"1377686399","file5":"1377686401","file3":"1377686397"},"map_files_photo_id_array":[{"photo_id":"1377686401","filename":"file5"},{"photo_id":"1377686395","filename":"file2"},{"photo_id":"1377686399","filename":"file4"},{"photo_id":"1377686388","filename":"file1"},{"photo_id":"1377686386","filename":"file0"},{"photo_id":"1377686397","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686401":["hashtag1","hashtag2"]},{"1377686388":["hashtag1","hashtag2"]},{"1377686397":["hashtag1","hashtag2"]},{"1377686399":["hashtag1","hashtag2"]},{"1377686395":["hashtag1","hashtag2"]},{"1377686386":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686401, 1377686388, 1377686397, 1377686399, 1377686395, 1377686386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.360708713531494 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:52:02.402295
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/32/image_17082025_05_32_28_9121.jpg', '/media/data/images/17082025/05/32/image_17082025_05_32_38_10650.jpg', '/media/data/images/17082025/05/32/image_17082025_05_32_48_9172.jpg', '/media/data/images/17082025/05/32/image_17082025_05_32_58_10431.jpg', '/media/data/images/17082025/05/33/image_17082025_05_33_19_10349.jpg', '/media/data/images/17082025/05/33/image_17082025_05_33_28_9108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/32/image_17082025_05_32_28_9121.jpg
/media/data/images/17082025/05/32/image_17082025_05_32_38_10650.jpg
/media/data/images/17082025/05/32/image_17082025_05_32_48_9172.jpg
/media/data/images/17082025/05/32/image_17082025_05_32_58_10431.jpg
/media/data/images/17082025/05/33/image_17082025_05_33_19_10349.jpg
/media/data/images/17082025/05/33/image_17082025_05_33_28_9108.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686422","1377686416","1377686424","1377686418","1377686406","1377686414"],"photo_ids_order":["1377686406","1377686414","1377686416","1377686418","1377686422","1377686424"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03d9ec96219626a854cc6151e55d310d.jpg","text":"TemporaryFile(/tmp/multipartBody6074268412094164406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_33_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44621c70829136e7cbab756767ea3569.jpg","text":"TemporaryFile(/tmp/multipartBody7815225320664530186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_32_48_9172.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d30946652ddb7fb0f560332f5baefbde.jpg","text":"TemporaryFile(/tmp/multipartBody6961554388684634799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_33_28_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/146656d08bfbf30575286ffc2ef5a892.jpg","text":"TemporaryFile(/tmp/multipartBody8674955249763269887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_32_58_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9726610031bdecf92284812b57ed45b4.jpg","text":"TemporaryFile(/tmp/multipartBody4041606468237597975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_32_28_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cce2bb2b5b2e2cae2f06b792bfab7df4.jpg","text":"TemporaryFile(/tmp/multipartBody470052653952468223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453183400,"filename":"image_17082025_05_32_38_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686416","file1":"1377686414","file0":"1377686406","file4":"1377686422","file5":"1377686424","file3":"1377686418"},"map_files_photo_id_array":[{"photo_id":"1377686424","filename":"file5"},{"photo_id":"1377686416","filename":"file2"},{"photo_id":"1377686422","filename":"file4"},{"photo_id":"1377686414","filename":"file1"},{"photo_id":"1377686406","filename":"file0"},{"photo_id":"1377686418","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686422":["hashtag1","hashtag2"]},{"1377686416":["hashtag1","hashtag2"]},{"1377686424":["hashtag1","hashtag2"]},{"1377686418":["hashtag1","hashtag2"]},{"1377686406":["hashtag1","hashtag2"]},{"1377686414":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686422, 1377686416, 1377686424, 1377686418, 1377686406, 1377686414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13937997817993 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:53:02.928233
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/33/image_17082025_05_33_38_10389.jpg', '/media/data/images/17082025/05/33/image_17082025_05_33_49_10361.jpg', '/media/data/images/17082025/05/33/image_17082025_05_34_08_10547.jpg', '/media/data/images/17082025/05/34/image_17082025_05_34_19_10428.jpg', '/media/data/images/17082025/05/34/image_17082025_05_34_28_9238.jpg', '/media/data/images/17082025/05/34/image_17082025_05_34_38_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/33/image_17082025_05_33_38_10389.jpg
/media/data/images/17082025/05/33/image_17082025_05_33_49_10361.jpg
/media/data/images/17082025/05/33/image_17082025_05_34_08_10547.jpg
/media/data/images/17082025/05/34/image_17082025_05_34_19_10428.jpg
/media/data/images/17082025/05/34/image_17082025_05_34_28_9238.jpg
/media/data/images/17082025/05/34/image_17082025_05_34_38_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686434","1377686454","1377686451","1377686445","1377686448","1377686441"],"photo_ids_order":["1377686434","1377686441","1377686445","1377686448","1377686451","1377686454"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f460291fc3f95860a76785a553b6170.jpg","text":"TemporaryFile(/tmp/multipartBody6866996831477050436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_33_38_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d873bfd234b929c19bc75829a51f6b26.jpg","text":"TemporaryFile(/tmp/multipartBody4319158269111848946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_34_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f63972dca4daab5ca4f83684648c720.jpg","text":"TemporaryFile(/tmp/multipartBody3450040450348920950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_34_28_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24e80990d71e056a118f8d7385d1f472.jpg","text":"TemporaryFile(/tmp/multipartBody4410955035383830236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_34_08_10547.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3930820188df10f606adee56f1147c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3271861543703906743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_34_19_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd2e2c31602847f19bfc2b3b1af9d48f.jpg","text":"TemporaryFile(/tmp/multipartBody5105493807982235274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453243885,"filename":"image_17082025_05_33_49_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686445","file1":"1377686441","file0":"1377686434","file4":"1377686451","file5":"1377686454","file3":"1377686448"},"map_files_photo_id_array":[{"photo_id":"1377686454","filename":"file5"},{"photo_id":"1377686445","filename":"file2"},{"photo_id":"1377686451","filename":"file4"},{"photo_id":"1377686441","filename":"file1"},{"photo_id":"1377686434","filename":"file0"},{"photo_id":"1377686448","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686434":["hashtag1","hashtag2"]},{"1377686454":["hashtag1","hashtag2"]},{"1377686451":["hashtag1","hashtag2"]},{"1377686445":["hashtag1","hashtag2"]},{"1377686448":["hashtag1","hashtag2"]},{"1377686441":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686434, 1377686454, 1377686451, 1377686445, 1377686448, 1377686441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60647368431091 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:54:02.781218
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/34/image_17082025_05_34_49_10339.jpg', '/media/data/images/17082025/05/34/image_17082025_05_34_58_9264.jpg', '/media/data/images/17082025/05/34/image_17082025_05_35_08_10441.jpg', '/media/data/images/17082025/05/35/image_17082025_05_35_19_10441.jpg', '/media/data/images/17082025/05/35/image_17082025_05_35_28_9154.jpg', '/media/data/images/17082025/05/35/image_17082025_05_35_49_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/34/image_17082025_05_34_49_10339.jpg
/media/data/images/17082025/05/34/image_17082025_05_34_58_9264.jpg
/media/data/images/17082025/05/34/image_17082025_05_35_08_10441.jpg
/media/data/images/17082025/05/35/image_17082025_05_35_19_10441.jpg
/media/data/images/17082025/05/35/image_17082025_05_35_28_9154.jpg
/media/data/images/17082025/05/35/image_17082025_05_35_49_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686461","1377686472","1377686475","1377686468","1377686470","1377686458"],"photo_ids_order":["1377686458","1377686461","1377686468","1377686470","1377686472","1377686475"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5792ebe05b80025b29988591294ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody8962913455623986308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_34_58_9264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e3bad3ac3193076cb25a4e29323071f.jpg","text":"TemporaryFile(/tmp/multipartBody8233096834800834513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_35_28_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bec93bd565d9a0e9e963adbe158361d3.jpg","text":"TemporaryFile(/tmp/multipartBody4805902790479208536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_35_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a06cab75d2a991cbce7bb8261654a6b7.jpg","text":"TemporaryFile(/tmp/multipartBody8359915328678068586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_35_08_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9bd05f3441dd106209d5c2fb8e6a4af.jpg","text":"TemporaryFile(/tmp/multipartBody3046486216500697382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_35_19_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5820922471a11ca1420c5f09108420ae.jpg","text":"TemporaryFile(/tmp/multipartBody1651227045074298185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453303785,"filename":"image_17082025_05_34_49_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686468","file1":"1377686461","file0":"1377686458","file4":"1377686472","file5":"1377686475","file3":"1377686470"},"map_files_photo_id_array":[{"photo_id":"1377686475","filename":"file5"},{"photo_id":"1377686468","filename":"file2"},{"photo_id":"1377686472","filename":"file4"},{"photo_id":"1377686461","filename":"file1"},{"photo_id":"1377686458","filename":"file0"},{"photo_id":"1377686470","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686461":["hashtag1","hashtag2"]},{"1377686472":["hashtag1","hashtag2"]},{"1377686475":["hashtag1","hashtag2"]},{"1377686468":["hashtag1","hashtag2"]},{"1377686470":["hashtag1","hashtag2"]},{"1377686458":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686461, 1377686472, 1377686475, 1377686468, 1377686470, 1377686458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74110651016235 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:55:03.003250
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/35/image_17082025_05_35_58_9124.jpg', '/media/data/images/17082025/05/35/image_17082025_05_36_08_10480.jpg', '/media/data/images/17082025/05/36/image_17082025_05_36_18_9395.jpg', '/media/data/images/17082025/05/36/image_17082025_05_36_28_10358.jpg', '/media/data/images/17082025/05/36/image_17082025_05_36_38_10341.jpg', '/media/data/images/17082025/05/36/image_17082025_05_36_49_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/35/image_17082025_05_35_58_9124.jpg
/media/data/images/17082025/05/35/image_17082025_05_36_08_10480.jpg
/media/data/images/17082025/05/36/image_17082025_05_36_18_9395.jpg
/media/data/images/17082025/05/36/image_17082025_05_36_28_10358.jpg
/media/data/images/17082025/05/36/image_17082025_05_36_38_10341.jpg
/media/data/images/17082025/05/36/image_17082025_05_36_49_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686493","1377686496","1377686495","1377686494","1377686482","1377686491"],"photo_ids_order":["1377686482","1377686491","1377686493","1377686494","1377686495","1377686496"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d87d907b0e1daa66ba1969da93391685.jpg","text":"TemporaryFile(/tmp/multipartBody6903302047903904345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_36_18_9395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46ce585e697ad8f0c8448bd9af7b6f07.jpg","text":"TemporaryFile(/tmp/multipartBody3736183528980728013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_36_49_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8466c68ced0a89ea9dbeae2f2aa1297.jpg","text":"TemporaryFile(/tmp/multipartBody8331069022132606892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_36_38_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f432e2ae9d4da033ec96e0cc4d26baa9.jpg","text":"TemporaryFile(/tmp/multipartBody5728553917062221762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_36_28_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9275fe2856558bdf7bc983ad1343ad21.jpg","text":"TemporaryFile(/tmp/multipartBody8110462177396548817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_35_58_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ce6c33512c11f569b854eda73b47091.jpg","text":"TemporaryFile(/tmp/multipartBody9073965023032161604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453363962,"filename":"image_17082025_05_36_08_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686493","file1":"1377686491","file0":"1377686482","file4":"1377686495","file5":"1377686496","file3":"1377686494"},"map_files_photo_id_array":[{"photo_id":"1377686496","filename":"file5"},{"photo_id":"1377686493","filename":"file2"},{"photo_id":"1377686495","filename":"file4"},{"photo_id":"1377686491","filename":"file1"},{"photo_id":"1377686482","filename":"file0"},{"photo_id":"1377686494","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686493":["hashtag1","hashtag2"]},{"1377686496":["hashtag1","hashtag2"]},{"1377686495":["hashtag1","hashtag2"]},{"1377686494":["hashtag1","hashtag2"]},{"1377686482":["hashtag1","hashtag2"]},{"1377686491":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686493, 1377686496, 1377686495, 1377686494, 1377686482, 1377686491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.881240367889404 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:56:02.928340
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/36/image_17082025_05_37_08_10368.jpg', '/media/data/images/17082025/05/37/image_17082025_05_37_28_9190.jpg', '/media/data/images/17082025/05/37/image_17082025_05_37_49_10432.jpg', '/media/data/images/17082025/05/37/image_17082025_05_37_58_9128.jpg', '/media/data/images/17082025/05/37/image_17082025_05_38_08_10697.jpg', '/media/data/images/17082025/05/38/image_17082025_05_38_38_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/36/image_17082025_05_37_08_10368.jpg
/media/data/images/17082025/05/37/image_17082025_05_37_28_9190.jpg
/media/data/images/17082025/05/37/image_17082025_05_37_49_10432.jpg
/media/data/images/17082025/05/37/image_17082025_05_37_58_9128.jpg
/media/data/images/17082025/05/37/image_17082025_05_38_08_10697.jpg
/media/data/images/17082025/05/38/image_17082025_05_38_38_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686512","1377686506","1377686521","1377686515","1377686518","1377686516"],"photo_ids_order":["1377686506","1377686512","1377686515","1377686516","1377686518","1377686521"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7b67cc3c0c35475b3e7fba2b38a0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2021337770861660048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_37_28_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/186fe495f1b778a4067454378837a6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6233202684352876843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_37_08_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/acfa8b2de3db0839a31cee66d193762d.jpg","text":"TemporaryFile(/tmp/multipartBody675264938118315360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_38_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af484c59ab06b2246f50372998687132.jpg","text":"TemporaryFile(/tmp/multipartBody5779156647203000233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_37_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5f3a710247572d22f49191071c487bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3065967127366525006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_38_08_10697.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e635529a6c12e47269eea3657142897.jpg","text":"TemporaryFile(/tmp/multipartBody1477099801050804584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453423905,"filename":"image_17082025_05_37_58_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686515","file1":"1377686512","file0":"1377686506","file4":"1377686518","file5":"1377686521","file3":"1377686516"},"map_files_photo_id_array":[{"photo_id":"1377686521","filename":"file5"},{"photo_id":"1377686515","filename":"file2"},{"photo_id":"1377686518","filename":"file4"},{"photo_id":"1377686512","filename":"file1"},{"photo_id":"1377686506","filename":"file0"},{"photo_id":"1377686516","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686512":["hashtag1","hashtag2"]},{"1377686506":["hashtag1","hashtag2"]},{"1377686521":["hashtag1","hashtag2"]},{"1377686515":["hashtag1","hashtag2"]},{"1377686518":["hashtag1","hashtag2"]},{"1377686516":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686512, 1377686506, 1377686521, 1377686515, 1377686518, 1377686516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65748381614685 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:57:03.252073
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/38/image_17082025_05_38_49_10428.jpg', '/media/data/images/17082025/05/38/image_17082025_05_39_08_10541.jpg', '/media/data/images/17082025/05/39/image_17082025_05_39_19_10420.jpg', '/media/data/images/17082025/05/39/image_17082025_05_39_58_9107.jpg', '/media/data/images/17082025/05/39/image_17082025_05_40_08_10455.jpg', '/media/data/images/17082025/05/40/image_17082025_05_40_19_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/38/image_17082025_05_38_49_10428.jpg
/media/data/images/17082025/05/38/image_17082025_05_39_08_10541.jpg
/media/data/images/17082025/05/39/image_17082025_05_39_19_10420.jpg
/media/data/images/17082025/05/39/image_17082025_05_39_58_9107.jpg
/media/data/images/17082025/05/39/image_17082025_05_40_08_10455.jpg
/media/data/images/17082025/05/40/image_17082025_05_40_19_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686539","1377686541","1377686544","1377686547","1377686532","1377686531"],"photo_ids_order":["1377686531","1377686532","1377686539","1377686541","1377686544","1377686547"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13e1839b536921d20ae464ab023582f8.jpg","text":"TemporaryFile(/tmp/multipartBody5085615307535957297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_39_19_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86974e3e1fcbef0cd7b522b5144bfeb6.jpg","text":"TemporaryFile(/tmp/multipartBody3174944760338358091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_39_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21728c529ca099759336f1262a827ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1417517415240215765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_40_08_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4ca7c1a3c586c70364284389e4e94bf.jpg","text":"TemporaryFile(/tmp/multipartBody1003490813129765677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_40_19_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bcdd88ace2d0d3057d9db32bd996b9b7.jpg","text":"TemporaryFile(/tmp/multipartBody3382578570528647660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_39_08_10541.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31449d21367e2cad6e7e9d58159bd307.jpg","text":"TemporaryFile(/tmp/multipartBody3193966967786756087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453484241,"filename":"image_17082025_05_38_49_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686539","file1":"1377686532","file0":"1377686531","file4":"1377686544","file5":"1377686547","file3":"1377686541"},"map_files_photo_id_array":[{"photo_id":"1377686547","filename":"file5"},{"photo_id":"1377686539","filename":"file2"},{"photo_id":"1377686544","filename":"file4"},{"photo_id":"1377686532","filename":"file1"},{"photo_id":"1377686531","filename":"file0"},{"photo_id":"1377686541","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686539":["hashtag1","hashtag2"]},{"1377686541":["hashtag1","hashtag2"]},{"1377686544":["hashtag1","hashtag2"]},{"1377686547":["hashtag1","hashtag2"]},{"1377686532":["hashtag1","hashtag2"]},{"1377686531":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686539, 1377686541, 1377686544, 1377686547, 1377686532, 1377686531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.046536445617676 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 19:59:02.456576
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/40/image_17082025_05_40_38_10470.jpg', '/media/data/images/17082025/05/40/image_17082025_05_40_58_9124.jpg', '/media/data/images/17082025/05/41/image_17082025_05_41_18_10346.jpg', '/media/data/images/17082025/05/41/image_17082025_05_41_29_10343.jpg', '/media/data/images/17082025/05/41/image_17082025_05_41_38_9212.jpg', '/media/data/images/17082025/05/41/image_17082025_05_41_48_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/40/image_17082025_05_40_38_10470.jpg
/media/data/images/17082025/05/40/image_17082025_05_40_58_9124.jpg
/media/data/images/17082025/05/41/image_17082025_05_41_18_10346.jpg
/media/data/images/17082025/05/41/image_17082025_05_41_29_10343.jpg
/media/data/images/17082025/05/41/image_17082025_05_41_38_9212.jpg
/media/data/images/17082025/05/41/image_17082025_05_41_48_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686571","1377686568","1377686573","1377686576","1377686560","1377686557"],"photo_ids_order":["1377686557","1377686560","1377686568","1377686571","1377686573","1377686576"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24ebdccaeb73c575dee8f4d885eb6056.jpg","text":"TemporaryFile(/tmp/multipartBody8852317349036356908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_41_29_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b70c709daec43ccc10c357ea8712c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5497163850209922433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_41_18_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf58971712d4daf0dd1aceef2e453188.jpg","text":"TemporaryFile(/tmp/multipartBody3144898099378857336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_41_38_9212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65dba34c3f81859a25b0330f9bc9573f.jpg","text":"TemporaryFile(/tmp/multipartBody8069885270993337810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_41_48_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1df63d5e1d92929818596b32b01c4740.jpg","text":"TemporaryFile(/tmp/multipartBody2567413773039796357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_40_58_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ce91b51ca0999fdc6090e2b2180640c.jpg","text":"TemporaryFile(/tmp/multipartBody6921954478494706548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453603456,"filename":"image_17082025_05_40_38_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686568","file1":"1377686560","file0":"1377686557","file4":"1377686573","file5":"1377686576","file3":"1377686571"},"map_files_photo_id_array":[{"photo_id":"1377686576","filename":"file5"},{"photo_id":"1377686568","filename":"file2"},{"photo_id":"1377686573","filename":"file4"},{"photo_id":"1377686560","filename":"file1"},{"photo_id":"1377686557","filename":"file0"},{"photo_id":"1377686571","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686571":["hashtag1","hashtag2"]},{"1377686568":["hashtag1","hashtag2"]},{"1377686573":["hashtag1","hashtag2"]},{"1377686576":["hashtag1","hashtag2"]},{"1377686560":["hashtag1","hashtag2"]},{"1377686557":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686571, 1377686568, 1377686573, 1377686576, 1377686560, 1377686557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.192161560058594 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:00:02.384920
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/41/image_17082025_05_41_59_10493.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_18_10486.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_29_10342.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_38_9129.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_48_10346.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_59_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/41/image_17082025_05_41_59_10493.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_18_10486.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_29_10342.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_38_9129.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_48_10346.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_59_10338.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5540263652801514 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:00:21.949984
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/41/image_17082025_05_41_59_10493.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_18_10486.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_29_10342.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_38_9129.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_48_10346.jpg', '/media/data/images/17082025/05/42/image_17082025_05_42_59_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/41/image_17082025_05_41_59_10493.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_18_10486.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_29_10342.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_38_9129.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_48_10346.jpg
/media/data/images/17082025/05/42/image_17082025_05_42_59_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686611","1377686614","1377686604","1377686607","1377686600","1377686606"],"photo_ids_order":["1377686600","1377686604","1377686606","1377686607","1377686611","1377686614"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45c65c16d66177cfb31671c51d6caedb.jpg","text":"TemporaryFile(/tmp/multipartBody2387718706259704232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_42_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0da4aa273b1c9c402ba35c82912e55a.jpg","text":"TemporaryFile(/tmp/multipartBody1453279768950289429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_42_59_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8fea465bbdc3fb8b5742dab42734a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1628856732937702032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_42_18_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/217e3c9ef17fd054b459826098533974.jpg","text":"TemporaryFile(/tmp/multipartBody1882024737297819508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_42_38_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d53c5fe81b4d1a11088095cfbaa25fb.jpg","text":"TemporaryFile(/tmp/multipartBody7431915373158595979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_41_59_10493.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d06adfc6236094b729ec973548144614.jpg","text":"TemporaryFile(/tmp/multipartBody552790384154806909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453682862,"filename":"image_17082025_05_42_29_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686606","file1":"1377686604","file0":"1377686600","file4":"1377686611","file5":"1377686614","file3":"1377686607"},"map_files_photo_id_array":[{"photo_id":"1377686614","filename":"file5"},{"photo_id":"1377686606","filename":"file2"},{"photo_id":"1377686611","filename":"file4"},{"photo_id":"1377686604","filename":"file1"},{"photo_id":"1377686600","filename":"file0"},{"photo_id":"1377686607","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686611":["hashtag1","hashtag2"]},{"1377686614":["hashtag1","hashtag2"]},{"1377686604":["hashtag1","hashtag2"]},{"1377686607":["hashtag1","hashtag2"]},{"1377686600":["hashtag1","hashtag2"]},{"1377686606":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686611, 1377686614, 1377686604, 1377686607, 1377686600, 1377686606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9583055973053 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:01:22.027295
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/43/image_17082025_05_43_08_9011.jpg', '/media/data/images/17082025/05/43/image_17082025_05_43_18_10364.jpg', '/media/data/images/17082025/05/43/image_17082025_05_43_28_10408.jpg', '/media/data/images/17082025/05/43/image_17082025_05_43_39_10377.jpg', '/media/data/images/17082025/05/44/image_17082025_05_44_18_9175.jpg', '/media/data/images/17082025/05/44/image_17082025_05_44_28_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/43/image_17082025_05_43_08_9011.jpg
/media/data/images/17082025/05/43/image_17082025_05_43_18_10364.jpg
/media/data/images/17082025/05/43/image_17082025_05_43_28_10408.jpg
/media/data/images/17082025/05/43/image_17082025_05_43_39_10377.jpg
/media/data/images/17082025/05/44/image_17082025_05_44_18_9175.jpg
/media/data/images/17082025/05/44/image_17082025_05_44_28_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686638","1377686635","1377686637","1377686631","1377686628","1377686633"],"photo_ids_order":["1377686628","1377686631","1377686633","1377686635","1377686637","1377686638"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7347edccf896f95bf5884a664fe727ed.jpg","text":"TemporaryFile(/tmp/multipartBody2103632568925188672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_44_28_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e67e64732b6054a56eddc98a68ecc387.jpg","text":"TemporaryFile(/tmp/multipartBody4054187721472659941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_43_39_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f34e19afaf256a4ef261e5c94d71651.jpg","text":"TemporaryFile(/tmp/multipartBody5559505950827356162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_44_18_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8aaf53635717bc5e6f4148bb93a1551.jpg","text":"TemporaryFile(/tmp/multipartBody4623505401272954165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_43_18_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d23545a7842991efdadc2ebefccc131f.jpg","text":"TemporaryFile(/tmp/multipartBody6265321394086148942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_43_08_9011.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc31cc9faf7bf0ec5a5261304d3e086c.jpg","text":"TemporaryFile(/tmp/multipartBody8547006162118760251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453742989,"filename":"image_17082025_05_43_28_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686633","file1":"1377686631","file0":"1377686628","file4":"1377686637","file5":"1377686638","file3":"1377686635"},"map_files_photo_id_array":[{"photo_id":"1377686638","filename":"file5"},{"photo_id":"1377686633","filename":"file2"},{"photo_id":"1377686637","filename":"file4"},{"photo_id":"1377686631","filename":"file1"},{"photo_id":"1377686628","filename":"file0"},{"photo_id":"1377686635","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686638":["hashtag1","hashtag2"]},{"1377686635":["hashtag1","hashtag2"]},{"1377686637":["hashtag1","hashtag2"]},{"1377686631":["hashtag1","hashtag2"]},{"1377686628":["hashtag1","hashtag2"]},{"1377686633":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686638, 1377686635, 1377686637, 1377686631, 1377686628, 1377686633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85248827934265 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:02:22.162922
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/44/image_17082025_05_44_38_10435.jpg', '/media/data/images/17082025/05/44/image_17082025_05_44_49_10348.jpg', '/media/data/images/17082025/05/44/image_17082025_05_44_58_9121.jpg', '/media/data/images/17082025/05/45/image_17082025_05_45_19_10493.jpg', '/media/data/images/17082025/05/45/image_17082025_05_45_28_9150.jpg', '/media/data/images/17082025/05/45/image_17082025_05_45_38_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/44/image_17082025_05_44_38_10435.jpg
/media/data/images/17082025/05/44/image_17082025_05_44_49_10348.jpg
/media/data/images/17082025/05/44/image_17082025_05_44_58_9121.jpg
/media/data/images/17082025/05/45/image_17082025_05_45_19_10493.jpg
/media/data/images/17082025/05/45/image_17082025_05_45_28_9150.jpg
/media/data/images/17082025/05/45/image_17082025_05_45_38_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686653","1377686655","1377686649","1377686657","1377686651","1377686654"],"photo_ids_order":["1377686649","1377686651","1377686653","1377686654","1377686655","1377686657"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40f193c97d3e67f6a8c59451c5ff5d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4505638615607652618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_44_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7949d93e661e11816d75c359e9fc58e4.jpg","text":"TemporaryFile(/tmp/multipartBody3523291810622237451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_45_28_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b1ff8f4bc5e5878e750ee09113e4106.jpg","text":"TemporaryFile(/tmp/multipartBody5870892667979521704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_44_38_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e2007f219c9f27f5a2ea9d9866873a2.jpg","text":"TemporaryFile(/tmp/multipartBody1481717952723141914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_45_38_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b74a6bbd6dc1ecbeaec7b42279dd273.jpg","text":"TemporaryFile(/tmp/multipartBody8054284013645296029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_44_49_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4210544173f648715e0e98eaef2cd47e.jpg","text":"TemporaryFile(/tmp/multipartBody7325187492766529690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453803148,"filename":"image_17082025_05_45_19_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686653","file1":"1377686651","file0":"1377686649","file4":"1377686655","file5":"1377686657","file3":"1377686654"},"map_files_photo_id_array":[{"photo_id":"1377686657","filename":"file5"},{"photo_id":"1377686653","filename":"file2"},{"photo_id":"1377686655","filename":"file4"},{"photo_id":"1377686651","filename":"file1"},{"photo_id":"1377686649","filename":"file0"},{"photo_id":"1377686654","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377686653":["hashtag1","hashtag2"]},{"1377686655":["hashtag1","hashtag2"]},{"1377686649":["hashtag1","hashtag2"]},{"1377686657":["hashtag1","hashtag2"]},{"1377686651":["hashtag1","hashtag2"]},{"1377686654":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377686653, 1377686655, 1377686649, 1377686657, 1377686651, 1377686654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23753476142883 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:03:22.299643
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/45/image_17082025_05_45_58_9131.jpg', '/media/data/images/17082025/05/46/image_17082025_05_46_18_9156.jpg', '/media/data/images/17082025/05/46/image_17082025_05_46_28_10382.jpg', '/media/data/images/17082025/05/46/image_17082025_05_46_38_10359.jpg', '/media/data/images/17082025/05/46/image_17082025_05_46_49_10346.jpg', '/media/data/images/17082025/05/46/image_17082025_05_47_08_10490.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/45/image_17082025_05_45_58_9131.jpg
/media/data/images/17082025/05/46/image_17082025_05_46_18_9156.jpg
/media/data/images/17082025/05/46/image_17082025_05_46_28_10382.jpg
/media/data/images/17082025/05/46/image_17082025_05_46_38_10359.jpg
/media/data/images/17082025/05/46/image_17082025_05_46_49_10346.jpg
/media/data/images/17082025/05/46/image_17082025_05_47_08_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377687400","1377687456","1377687299","1377687368","1377687332","1377687268"],"photo_ids_order":["1377687268","1377687299","1377687332","1377687368","1377687400","1377687456"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ddb8200fccfc993346167967e89b588.jpg","text":"TemporaryFile(/tmp/multipartBody2920974291403943014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_46_49_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/afdd7ca5573d9d597677e6394874bf23.jpg","text":"TemporaryFile(/tmp/multipartBody2777241321048336230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_47_08_10490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2eb9f65c4880fae74e2bfb17dea7727b.jpg","text":"TemporaryFile(/tmp/multipartBody3064433958407916708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_46_18_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/faf9b8b760307a2dca09d8f1e50c640f.jpg","text":"TemporaryFile(/tmp/multipartBody3790882733890850307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_46_38_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db0e6cb8052a2c467b9b71e650731205.jpg","text":"TemporaryFile(/tmp/multipartBody8422186325393527960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_46_28_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25418b2bfc2c7629da4c89df89b4b965.jpg","text":"TemporaryFile(/tmp/multipartBody5505293917109533396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453863257,"filename":"image_17082025_05_45_58_9131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377687332","file1":"1377687299","file0":"1377687268","file4":"1377687400","file5":"1377687456","file3":"1377687368"},"map_files_photo_id_array":[{"photo_id":"1377687456","filename":"file5"},{"photo_id":"1377687332","filename":"file2"},{"photo_id":"1377687400","filename":"file4"},{"photo_id":"1377687299","filename":"file1"},{"photo_id":"1377687268","filename":"file0"},{"photo_id":"1377687368","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377687400":["hashtag1","hashtag2"]},{"1377687456":["hashtag1","hashtag2"]},{"1377687299":["hashtag1","hashtag2"]},{"1377687368":["hashtag1","hashtag2"]},{"1377687332":["hashtag1","hashtag2"]},{"1377687268":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377687400, 1377687456, 1377687299, 1377687368, 1377687332, 1377687268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.205283641815186 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:04:22.430685
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/47/image_17082025_05_47_19_10453.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_38_10382.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_49_10412.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_58_9140.jpg', '/media/data/images/17082025/05/47/image_17082025_05_48_08_10658.jpg', '/media/data/images/17082025/05/48/image_17082025_05_48_18_9122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/47/image_17082025_05_47_19_10453.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_38_10382.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_49_10412.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_58_9140.jpg
/media/data/images/17082025/05/47/image_17082025_05_48_08_10658.jpg
/media/data/images/17082025/05/48/image_17082025_05_48_18_9122.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5506746768951416 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:04:42.408015
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/47/image_17082025_05_47_19_10453.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_38_10382.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_49_10412.jpg', '/media/data/images/17082025/05/47/image_17082025_05_47_58_9140.jpg', '/media/data/images/17082025/05/47/image_17082025_05_48_08_10658.jpg', '/media/data/images/17082025/05/48/image_17082025_05_48_18_9122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/47/image_17082025_05_47_19_10453.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_38_10382.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_49_10412.jpg
/media/data/images/17082025/05/47/image_17082025_05_47_58_9140.jpg
/media/data/images/17082025/05/47/image_17082025_05_48_08_10658.jpg
/media/data/images/17082025/05/48/image_17082025_05_48_18_9122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377688341","1377688274","1377688556","1377688412","1377688522","1377688476"],"photo_ids_order":["1377688274","1377688341","1377688412","1377688476","1377688522","1377688556"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1608d3cb53c0fe866100154c42a5b357.jpg","text":"TemporaryFile(/tmp/multipartBody3785413290423266419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_47_38_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb007f8d1a373a77633d1bc6dcc034b9.jpg","text":"TemporaryFile(/tmp/multipartBody5415980463006170808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_47_19_10453.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7038ea2e7e7e48310642455781b70b21.jpg","text":"TemporaryFile(/tmp/multipartBody7453516650862184323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_48_18_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ccee943d8e825a17d6791980f4febbc.jpg","text":"TemporaryFile(/tmp/multipartBody8781906748389267548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_47_49_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a5c25b45d6b63890cbe7baa5a12dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody549440434825520857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_48_08_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24935fc4ab7fbc97086791bc2ae99236.jpg","text":"TemporaryFile(/tmp/multipartBody7623807666085058639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453943307,"filename":"image_17082025_05_47_58_9140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377688412","file1":"1377688341","file0":"1377688274","file4":"1377688522","file5":"1377688556","file3":"1377688476"},"map_files_photo_id_array":[{"photo_id":"1377688556","filename":"file5"},{"photo_id":"1377688412","filename":"file2"},{"photo_id":"1377688522","filename":"file4"},{"photo_id":"1377688341","filename":"file1"},{"photo_id":"1377688274","filename":"file0"},{"photo_id":"1377688476","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377688341":["hashtag1","hashtag2"]},{"1377688274":["hashtag1","hashtag2"]},{"1377688556":["hashtag1","hashtag2"]},{"1377688412":["hashtag1","hashtag2"]},{"1377688522":["hashtag1","hashtag2"]},{"1377688476":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377688341, 1377688274, 1377688556, 1377688412, 1377688522, 1377688476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73653960227966 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:05:42.530415
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/48/image_17082025_05_48_28_10386.jpg', '/media/data/images/17082025/05/48/image_17082025_05_48_38_10414.jpg', '/media/data/images/17082025/05/48/image_17082025_05_49_09_10672.jpg', '/media/data/images/17082025/05/49/image_17082025_05_49_39_10478.jpg', '/media/data/images/17082025/05/49/image_17082025_05_49_48_9106.jpg', '/media/data/images/17082025/05/49/image_17082025_05_49_58_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/48/image_17082025_05_48_28_10386.jpg
/media/data/images/17082025/05/48/image_17082025_05_48_38_10414.jpg
/media/data/images/17082025/05/48/image_17082025_05_49_09_10672.jpg
/media/data/images/17082025/05/49/image_17082025_05_49_39_10478.jpg
/media/data/images/17082025/05/49/image_17082025_05_49_48_9106.jpg
/media/data/images/17082025/05/49/image_17082025_05_49_58_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377688743","1377688873","1377688912","1377688840","1377688788","1377688705"],"photo_ids_order":["1377688705","1377688743","1377688788","1377688840","1377688873","1377688912"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3059104ce9f4cce393ae56d7c9f4ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody1816075053916506633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_48_38_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6259ebcf28cfe750bd5e94bc0afc58b8.jpg","text":"TemporaryFile(/tmp/multipartBody158160728736574395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_49_48_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43b0cb058bc617207d11929f793c68da.jpg","text":"TemporaryFile(/tmp/multipartBody1077320841635076776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_49_58_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d8adc0c79f9ea3d6e4ca189fb26c90f.jpg","text":"TemporaryFile(/tmp/multipartBody8996849466986066989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_49_39_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0edccfdfc95b804741ae09adb846f63.jpg","text":"TemporaryFile(/tmp/multipartBody508947288377744518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_49_09_10672.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51f1ca9ae08e5ab8b71c628a460cd558.jpg","text":"TemporaryFile(/tmp/multipartBody7513296225629716891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454003508,"filename":"image_17082025_05_48_28_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377688788","file1":"1377688743","file0":"1377688705","file4":"1377688873","file5":"1377688912","file3":"1377688840"},"map_files_photo_id_array":[{"photo_id":"1377688912","filename":"file5"},{"photo_id":"1377688788","filename":"file2"},{"photo_id":"1377688873","filename":"file4"},{"photo_id":"1377688743","filename":"file1"},{"photo_id":"1377688705","filename":"file0"},{"photo_id":"1377688840","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377688743":["hashtag1","hashtag2"]},{"1377688873":["hashtag1","hashtag2"]},{"1377688912":["hashtag1","hashtag2"]},{"1377688840":["hashtag1","hashtag2"]},{"1377688788":["hashtag1","hashtag2"]},{"1377688705":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377688743, 1377688873, 1377688912, 1377688840, 1377688788, 1377688705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08126354217529 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:06:42.656914
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/50/image_17082025_05_50_08_10325.jpg', '/media/data/images/17082025/05/50/image_17082025_05_50_18_9215.jpg', '/media/data/images/17082025/05/50/image_17082025_05_50_38_10363.jpg', '/media/data/images/17082025/05/50/image_17082025_05_50_49_10386.jpg', '/media/data/images/17082025/05/50/image_17082025_05_50_58_9154.jpg', '/media/data/images/17082025/05/50/image_17082025_05_51_08_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/50/image_17082025_05_50_08_10325.jpg
/media/data/images/17082025/05/50/image_17082025_05_50_18_9215.jpg
/media/data/images/17082025/05/50/image_17082025_05_50_38_10363.jpg
/media/data/images/17082025/05/50/image_17082025_05_50_49_10386.jpg
/media/data/images/17082025/05/50/image_17082025_05_50_58_9154.jpg
/media/data/images/17082025/05/50/image_17082025_05_51_08_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689006","1377689015","1377689017","1377689011","1377689005","1377689008"],"photo_ids_order":["1377689005","1377689006","1377689008","1377689011","1377689015","1377689017"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf5803eeed474190608bae0022a45546.jpg","text":"TemporaryFile(/tmp/multipartBody1373909681287255933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_50_18_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0c7dd6d5887d578e8891bac88f056af.jpg","text":"TemporaryFile(/tmp/multipartBody2071048232939071327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_50_58_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab0e2880ac969a49dd26d67d3d00d38e.jpg","text":"TemporaryFile(/tmp/multipartBody6874684304171877172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_51_08_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb724ba0514e7fa661ecf8ca352c1eec.jpg","text":"TemporaryFile(/tmp/multipartBody8834247445887365996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_50_49_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c68f27ba85660689bfece1cdb2926c36.jpg","text":"TemporaryFile(/tmp/multipartBody2848455777786426368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_50_08_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cefedf065b44114182a05d3b1c8c6ede.jpg","text":"TemporaryFile(/tmp/multipartBody4266089751037577719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454063649,"filename":"image_17082025_05_50_38_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689008","file1":"1377689006","file0":"1377689005","file4":"1377689015","file5":"1377689017","file3":"1377689011"},"map_files_photo_id_array":[{"photo_id":"1377689017","filename":"file5"},{"photo_id":"1377689008","filename":"file2"},{"photo_id":"1377689015","filename":"file4"},{"photo_id":"1377689006","filename":"file1"},{"photo_id":"1377689005","filename":"file0"},{"photo_id":"1377689011","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689006":["hashtag1","hashtag2"]},{"1377689015":["hashtag1","hashtag2"]},{"1377689017":["hashtag1","hashtag2"]},{"1377689011":["hashtag1","hashtag2"]},{"1377689005":["hashtag1","hashtag2"]},{"1377689008":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689006, 1377689015, 1377689017, 1377689011, 1377689005, 1377689008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60045599937439 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:07:42.855571
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/51/image_17082025_05_51_28_9206.jpg', '/media/data/images/17082025/05/51/image_17082025_05_51_38_10391.jpg', '/media/data/images/17082025/05/51/image_17082025_05_51_49_10366.jpg', '/media/data/images/17082025/05/51/image_17082025_05_52_08_10513.jpg', '/media/data/images/17082025/05/52/image_17082025_05_52_28_9156.jpg', '/media/data/images/17082025/05/52/image_17082025_05_52_49_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/51/image_17082025_05_51_28_9206.jpg
/media/data/images/17082025/05/51/image_17082025_05_51_38_10391.jpg
/media/data/images/17082025/05/51/image_17082025_05_51_49_10366.jpg
/media/data/images/17082025/05/51/image_17082025_05_52_08_10513.jpg
/media/data/images/17082025/05/52/image_17082025_05_52_28_9156.jpg
/media/data/images/17082025/05/52/image_17082025_05_52_49_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689048","1377689033","1377689036","1377689041","1377689038","1377689040"],"photo_ids_order":["1377689033","1377689036","1377689038","1377689040","1377689041","1377689048"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68b34952604c99c3c71c04242f33ec14.jpg","text":"TemporaryFile(/tmp/multipartBody2495359638346882994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_52_49_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e3ea2cc4061be0ac9dd02477ac331217.jpg","text":"TemporaryFile(/tmp/multipartBody5350763947318781318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_51_28_9206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed671365904870eb6d40b037e4e490cf.jpg","text":"TemporaryFile(/tmp/multipartBody4942675226015211320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_51_38_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/478ecb39223c94b1e61bb91b1eecce5e.jpg","text":"TemporaryFile(/tmp/multipartBody2306566417078730925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_52_28_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65cc076473edc756cf48d8b3a37aee31.jpg","text":"TemporaryFile(/tmp/multipartBody8372699540735908092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_51_49_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d967b90070917c26b301ea8bcd2dc8a2.jpg","text":"TemporaryFile(/tmp/multipartBody8640089631040246894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454123823,"filename":"image_17082025_05_52_08_10513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689038","file1":"1377689036","file0":"1377689033","file4":"1377689041","file5":"1377689048","file3":"1377689040"},"map_files_photo_id_array":[{"photo_id":"1377689048","filename":"file5"},{"photo_id":"1377689038","filename":"file2"},{"photo_id":"1377689041","filename":"file4"},{"photo_id":"1377689036","filename":"file1"},{"photo_id":"1377689033","filename":"file0"},{"photo_id":"1377689040","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689048":["hashtag1","hashtag2"]},{"1377689033":["hashtag1","hashtag2"]},{"1377689036":["hashtag1","hashtag2"]},{"1377689041":["hashtag1","hashtag2"]},{"1377689038":["hashtag1","hashtag2"]},{"1377689040":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689048, 1377689033, 1377689036, 1377689041, 1377689038, 1377689040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10935139656067 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:08:41.969773
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/52/image_17082025_05_52_58_9208.jpg', '/media/data/images/17082025/05/52/image_17082025_05_53_08_10447.jpg', '/media/data/images/17082025/05/53/image_17082025_05_53_18_9198.jpg', '/media/data/images/17082025/05/53/image_17082025_05_53_28_10515.jpg', '/media/data/images/17082025/05/53/image_17082025_05_53_58_10355.jpg', '/media/data/images/17082025/05/54/image_17082025_05_54_08_10177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/52/image_17082025_05_52_58_9208.jpg
/media/data/images/17082025/05/52/image_17082025_05_53_08_10447.jpg
/media/data/images/17082025/05/53/image_17082025_05_53_18_9198.jpg
/media/data/images/17082025/05/53/image_17082025_05_53_28_10515.jpg
/media/data/images/17082025/05/53/image_17082025_05_53_58_10355.jpg
/media/data/images/17082025/05/54/image_17082025_05_54_08_10177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689063","1377689065","1377689062","1377689056","1377689059","1377689061"],"photo_ids_order":["1377689056","1377689059","1377689061","1377689062","1377689063","1377689065"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c66dec550a46ab301c674c70a86cdedc.jpg","text":"TemporaryFile(/tmp/multipartBody8450322480246680491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_53_58_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78acf1e38728688fc2207db286f05cfe.jpg","text":"TemporaryFile(/tmp/multipartBody8716540178305471733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_54_08_10177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b43bedd11e015ef025dcf1b484fe619a.jpg","text":"TemporaryFile(/tmp/multipartBody3515447350026146975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_53_28_10515.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bcfa3023c06d3d1781a21d5be018a79.jpg","text":"TemporaryFile(/tmp/multipartBody6454975092749017636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_52_58_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/546e39514e9a860735c2a3052c04ac8c.jpg","text":"TemporaryFile(/tmp/multipartBody5579421009361378318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_53_08_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94629762451364b8ecde4db2b17f0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2104035331104254004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454182917,"filename":"image_17082025_05_53_18_9198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689061","file1":"1377689059","file0":"1377689056","file4":"1377689063","file5":"1377689065","file3":"1377689062"},"map_files_photo_id_array":[{"photo_id":"1377689065","filename":"file5"},{"photo_id":"1377689061","filename":"file2"},{"photo_id":"1377689063","filename":"file4"},{"photo_id":"1377689059","filename":"file1"},{"photo_id":"1377689056","filename":"file0"},{"photo_id":"1377689062","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689063":["hashtag1","hashtag2"]},{"1377689065":["hashtag1","hashtag2"]},{"1377689062":["hashtag1","hashtag2"]},{"1377689056":["hashtag1","hashtag2"]},{"1377689059":["hashtag1","hashtag2"]},{"1377689061":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689063, 1377689065, 1377689062, 1377689056, 1377689059, 1377689061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10330843925476 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:09:42.156408
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/54/image_17082025_05_54_18_9207.jpg', '/media/data/images/17082025/05/54/image_17082025_05_54_49_10391.jpg', '/media/data/images/17082025/05/54/image_17082025_05_55_08_10412.jpg', '/media/data/images/17082025/05/55/image_17082025_05_55_19_10343.jpg', '/media/data/images/17082025/05/55/image_17082025_05_55_28_9105.jpg', '/media/data/images/17082025/05/55/image_17082025_05_55_38_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/54/image_17082025_05_54_18_9207.jpg
/media/data/images/17082025/05/54/image_17082025_05_54_49_10391.jpg
/media/data/images/17082025/05/54/image_17082025_05_55_08_10412.jpg
/media/data/images/17082025/05/55/image_17082025_05_55_19_10343.jpg
/media/data/images/17082025/05/55/image_17082025_05_55_28_9105.jpg
/media/data/images/17082025/05/55/image_17082025_05_55_38_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689078","1377689089","1377689082","1377689091","1377689085","1377689099"],"photo_ids_order":["1377689078","1377689082","1377689085","1377689089","1377689091","1377689099"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d43020aa2b51ba9c498bc609435c30a.jpg","text":"TemporaryFile(/tmp/multipartBody6364989817144115133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_54_18_9207.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e68c3d315749e216f1597310499fa17.jpg","text":"TemporaryFile(/tmp/multipartBody7294723586964663144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_55_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1651821e7bebf92f809ce1d144575062.jpg","text":"TemporaryFile(/tmp/multipartBody1459866373381337034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_54_49_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dcb25859f2144d3edcb11456417920f.jpg","text":"TemporaryFile(/tmp/multipartBody8258451452596901647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_55_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c58867a63490697e5360995d1922d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6092779412465894330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_55_08_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff0cee16d5fee2f8792f863c6d3bcfac.jpg","text":"TemporaryFile(/tmp/multipartBody8571537998943814524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454243126,"filename":"image_17082025_05_55_38_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689085","file1":"1377689082","file0":"1377689078","file4":"1377689091","file5":"1377689099","file3":"1377689089"},"map_files_photo_id_array":[{"photo_id":"1377689099","filename":"file5"},{"photo_id":"1377689085","filename":"file2"},{"photo_id":"1377689091","filename":"file4"},{"photo_id":"1377689082","filename":"file1"},{"photo_id":"1377689078","filename":"file0"},{"photo_id":"1377689089","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689078":["hashtag1","hashtag2"]},{"1377689089":["hashtag1","hashtag2"]},{"1377689082":["hashtag1","hashtag2"]},{"1377689091":["hashtag1","hashtag2"]},{"1377689085":["hashtag1","hashtag2"]},{"1377689099":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689078, 1377689089, 1377689082, 1377689091, 1377689085, 1377689099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32569766044617 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:10:42.212359
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/55/image_17082025_05_55_58_9203.jpg', '/media/data/images/17082025/05/56/image_17082025_05_56_19_10344.jpg', '/media/data/images/17082025/05/56/image_17082025_05_56_28_9103.jpg', '/media/data/images/17082025/05/56/image_17082025_05_56_49_10424.jpg', '/media/data/images/17082025/05/56/image_17082025_05_57_08_10644.jpg', '/media/data/images/17082025/05/57/image_17082025_05_57_19_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/55/image_17082025_05_55_58_9203.jpg
/media/data/images/17082025/05/56/image_17082025_05_56_19_10344.jpg
/media/data/images/17082025/05/56/image_17082025_05_56_28_9103.jpg
/media/data/images/17082025/05/56/image_17082025_05_56_49_10424.jpg
/media/data/images/17082025/05/56/image_17082025_05_57_08_10644.jpg
/media/data/images/17082025/05/57/image_17082025_05_57_19_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689105","1377689114","1377689108","1377689110","1377689112","1377689115"],"photo_ids_order":["1377689105","1377689108","1377689110","1377689112","1377689114","1377689115"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/860d8b86b8d0fffe770d5aa6da8c536f.jpg","text":"TemporaryFile(/tmp/multipartBody6539437140405521876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_55_58_9203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/921f24c438a9e62dc58914bcc85dbed3.jpg","text":"TemporaryFile(/tmp/multipartBody4501599705610248591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_57_08_10644.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f7749cd01ab13f2b8d1d683d22dc839.jpg","text":"TemporaryFile(/tmp/multipartBody6338791179158100728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_56_19_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50c6979cd1997ca9b61dba82a0e23a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6463766193931100913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_56_28_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88134694f5447d0873a083ec7ea3bfdf.jpg","text":"TemporaryFile(/tmp/multipartBody8823236633938346910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_56_49_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ce9f112636d9b38bbb944a36ef4a833.jpg","text":"TemporaryFile(/tmp/multipartBody6243990787147646408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454303199,"filename":"image_17082025_05_57_19_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689110","file1":"1377689108","file0":"1377689105","file4":"1377689114","file5":"1377689115","file3":"1377689112"},"map_files_photo_id_array":[{"photo_id":"1377689115","filename":"file5"},{"photo_id":"1377689110","filename":"file2"},{"photo_id":"1377689114","filename":"file4"},{"photo_id":"1377689108","filename":"file1"},{"photo_id":"1377689105","filename":"file0"},{"photo_id":"1377689112","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689105":["hashtag1","hashtag2"]},{"1377689114":["hashtag1","hashtag2"]},{"1377689108":["hashtag1","hashtag2"]},{"1377689110":["hashtag1","hashtag2"]},{"1377689112":["hashtag1","hashtag2"]},{"1377689115":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689105, 1377689114, 1377689108, 1377689110, 1377689112, 1377689115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09173917770386 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:11:42.321900
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/57/image_17082025_05_57_28_9198.jpg', '/media/data/images/17082025/05/57/image_17082025_05_57_49_10394.jpg', '/media/data/images/17082025/05/57/image_17082025_05_57_58_9291.jpg', '/media/data/images/17082025/05/57/image_17082025_05_58_08_10465.jpg', '/media/data/images/17082025/05/58/image_17082025_05_58_19_10421.jpg', '/media/data/images/17082025/05/58/image_17082025_05_58_38_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/57/image_17082025_05_57_28_9198.jpg
/media/data/images/17082025/05/57/image_17082025_05_57_49_10394.jpg
/media/data/images/17082025/05/57/image_17082025_05_57_58_9291.jpg
/media/data/images/17082025/05/57/image_17082025_05_58_08_10465.jpg
/media/data/images/17082025/05/58/image_17082025_05_58_19_10421.jpg
/media/data/images/17082025/05/58/image_17082025_05_58_38_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689132","1377689129","1377689134","1377689137","1377689139","1377689136"],"photo_ids_order":["1377689129","1377689132","1377689134","1377689136","1377689137","1377689139"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6178999c328db70a94d51746c85c409e.jpg","text":"TemporaryFile(/tmp/multipartBody4984565584690421662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_57_49_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc16ddab01c9cb9f4dcc55aec12790a5.jpg","text":"TemporaryFile(/tmp/multipartBody2908910004534801824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_57_28_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e394e92a50ac756b4bbf4c3ee640002.jpg","text":"TemporaryFile(/tmp/multipartBody5802880881073118268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_57_58_9291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/584f59c5da9548ba341f2bfad79526d9.jpg","text":"TemporaryFile(/tmp/multipartBody8390376062212682343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_58_19_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/307d8da0995fbd2c7f8447a7d57f0acf.jpg","text":"TemporaryFile(/tmp/multipartBody781949994933403327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_58_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/592ca44771b795b5b3df6a31ddb40fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7752572024940567487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454363338,"filename":"image_17082025_05_58_08_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689134","file1":"1377689132","file0":"1377689129","file4":"1377689137","file5":"1377689139","file3":"1377689136"},"map_files_photo_id_array":[{"photo_id":"1377689139","filename":"file5"},{"photo_id":"1377689134","filename":"file2"},{"photo_id":"1377689137","filename":"file4"},{"photo_id":"1377689132","filename":"file1"},{"photo_id":"1377689129","filename":"file0"},{"photo_id":"1377689136","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689132":["hashtag1","hashtag2"]},{"1377689129":["hashtag1","hashtag2"]},{"1377689134":["hashtag1","hashtag2"]},{"1377689137":["hashtag1","hashtag2"]},{"1377689139":["hashtag1","hashtag2"]},{"1377689136":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689132, 1377689129, 1377689134, 1377689137, 1377689139, 1377689136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.740978956222534 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:12:42.405511
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/58/image_17082025_05_58_49_10343.jpg', '/media/data/images/17082025/05/58/image_17082025_05_58_58_9194.jpg', '/media/data/images/17082025/05/58/image_17082025_05_59_09_10700.jpg', '/media/data/images/17082025/05/59/image_17082025_05_59_28_10425.jpg', '/media/data/images/17082025/05/59/image_17082025_05_59_39_10437.jpg', '/media/data/images/17082025/05/59/image_17082025_05_59_48_9121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/58/image_17082025_05_58_49_10343.jpg
/media/data/images/17082025/05/58/image_17082025_05_58_58_9194.jpg
/media/data/images/17082025/05/58/image_17082025_05_59_09_10700.jpg
/media/data/images/17082025/05/59/image_17082025_05_59_28_10425.jpg
/media/data/images/17082025/05/59/image_17082025_05_59_39_10437.jpg
/media/data/images/17082025/05/59/image_17082025_05_59_48_9121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689153","1377689161","1377689155","1377689158","1377689151","1377689169"],"photo_ids_order":["1377689151","1377689153","1377689155","1377689158","1377689161","1377689169"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f627cff87c236605c1ecd0055ca7cc29.jpg","text":"TemporaryFile(/tmp/multipartBody2875112330739447467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_58_58_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df85094e548226a46d66198a25ae8e64.jpg","text":"TemporaryFile(/tmp/multipartBody4680367899861311998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_59_39_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff527b5b5e3bfc79a3e08326a5be6db9.jpg","text":"TemporaryFile(/tmp/multipartBody9091358402117358564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_59_09_10700.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c7d5c826f21f5d28eb591a9f2e0fa53.jpg","text":"TemporaryFile(/tmp/multipartBody3944759377331845227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_59_28_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6329b2dfd1fabcbf110a69856bd5f291.jpg","text":"TemporaryFile(/tmp/multipartBody2371949033749823102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_58_49_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e74ab25105d871ff66bf364d262a994d.jpg","text":"TemporaryFile(/tmp/multipartBody4799561844051443519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454423400,"filename":"image_17082025_05_59_48_9121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689155","file1":"1377689153","file0":"1377689151","file4":"1377689161","file5":"1377689169","file3":"1377689158"},"map_files_photo_id_array":[{"photo_id":"1377689169","filename":"file5"},{"photo_id":"1377689155","filename":"file2"},{"photo_id":"1377689161","filename":"file4"},{"photo_id":"1377689153","filename":"file1"},{"photo_id":"1377689151","filename":"file0"},{"photo_id":"1377689158","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689153":["hashtag1","hashtag2"]},{"1377689161":["hashtag1","hashtag2"]},{"1377689155":["hashtag1","hashtag2"]},{"1377689158":["hashtag1","hashtag2"]},{"1377689151":["hashtag1","hashtag2"]},{"1377689169":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689153, 1377689161, 1377689155, 1377689158, 1377689151, 1377689169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.822421073913574 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:13:42.604062
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/05/59/image_17082025_05_59_58_10342.jpg', '/media/data/images/17082025/05/59/image_17082025_06_00_09_10534.jpg', '/media/data/images/17082025/06/00/image_17082025_06_00_28_10481.jpg', '/media/data/images/17082025/06/00/image_17082025_06_00_39_10359.jpg', '/media/data/images/17082025/06/00/image_17082025_06_00_48_9117.jpg', '/media/data/images/17082025/06/00/image_17082025_06_00_58_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/05/59/image_17082025_05_59_58_10342.jpg
/media/data/images/17082025/05/59/image_17082025_06_00_09_10534.jpg
/media/data/images/17082025/06/00/image_17082025_06_00_28_10481.jpg
/media/data/images/17082025/06/00/image_17082025_06_00_39_10359.jpg
/media/data/images/17082025/06/00/image_17082025_06_00_48_9117.jpg
/media/data/images/17082025/06/00/image_17082025_06_00_58_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689186","1377689189","1377689180","1377689183","1377689177","1377689176"],"photo_ids_order":["1377689176","1377689177","1377689180","1377689183","1377689186","1377689189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3da6ff08ef50f0d6a4733ccb8ffb8360.jpg","text":"TemporaryFile(/tmp/multipartBody3134199772661799889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_06_00_48_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3437739e3422c99f958259cac22bb9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2924439378692183702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_06_00_58_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ee2fd2d31b8457203ac9273f88b6751.jpg","text":"TemporaryFile(/tmp/multipartBody2010983145008233949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_06_00_28_10481.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93226c772f2dbed5c63b568610b07c2f.jpg","text":"TemporaryFile(/tmp/multipartBody9211149520286217552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_06_00_39_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b44eeb63aa2721934573e0175a4283b9.jpg","text":"TemporaryFile(/tmp/multipartBody8695376667361408367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_06_00_09_10534.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c0a2ba5419678f1bb0490c37a1d62f7.jpg","text":"TemporaryFile(/tmp/multipartBody241048397857795535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454483595,"filename":"image_17082025_05_59_58_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689180","file1":"1377689177","file0":"1377689176","file4":"1377689186","file5":"1377689189","file3":"1377689183"},"map_files_photo_id_array":[{"photo_id":"1377689189","filename":"file5"},{"photo_id":"1377689180","filename":"file2"},{"photo_id":"1377689186","filename":"file4"},{"photo_id":"1377689177","filename":"file1"},{"photo_id":"1377689176","filename":"file0"},{"photo_id":"1377689183","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689186":["hashtag1","hashtag2"]},{"1377689189":["hashtag1","hashtag2"]},{"1377689180":["hashtag1","hashtag2"]},{"1377689183":["hashtag1","hashtag2"]},{"1377689177":["hashtag1","hashtag2"]},{"1377689176":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689186, 1377689189, 1377689180, 1377689183, 1377689177, 1377689176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06366443634033 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:14:42.709718
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/01/image_17082025_06_01_08_10208.jpg', '/media/data/images/17082025/06/01/image_17082025_06_01_19_10361.jpg', '/media/data/images/17082025/06/01/image_17082025_06_01_38_10440.jpg', '/media/data/images/17082025/06/01/image_17082025_06_01_58_9125.jpg', '/media/data/images/17082025/06/01/image_17082025_06_02_08_10435.jpg', '/media/data/images/17082025/06/02/image_17082025_06_02_19_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/01/image_17082025_06_01_08_10208.jpg
/media/data/images/17082025/06/01/image_17082025_06_01_19_10361.jpg
/media/data/images/17082025/06/01/image_17082025_06_01_38_10440.jpg
/media/data/images/17082025/06/01/image_17082025_06_01_58_9125.jpg
/media/data/images/17082025/06/01/image_17082025_06_02_08_10435.jpg
/media/data/images/17082025/06/02/image_17082025_06_02_19_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689217","1377689210","1377689207","1377689216","1377689212","1377689214"],"photo_ids_order":["1377689207","1377689210","1377689212","1377689214","1377689216","1377689217"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd99ca1cd9902427b12ac6e4434de668.jpg","text":"TemporaryFile(/tmp/multipartBody5025687073541766319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_02_19_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d9c195b21bccabdb100210273f5558f.jpg","text":"TemporaryFile(/tmp/multipartBody514021770592500839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_01_19_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7f611c734bcbe359d0e77188744fa78.jpg","text":"TemporaryFile(/tmp/multipartBody409570378515867695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_01_08_10208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6d65a967edba2fefdb951fac1c7464d.jpg","text":"TemporaryFile(/tmp/multipartBody6638178958340734970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_02_08_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6d756260612aefab8fb1fe1157af88b.jpg","text":"TemporaryFile(/tmp/multipartBody6771982724803110596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_01_38_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c8d1a5613330d29fa38887af26fbfcb.jpg","text":"TemporaryFile(/tmp/multipartBody2819690073133007657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454543702,"filename":"image_17082025_06_01_58_9125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689212","file1":"1377689210","file0":"1377689207","file4":"1377689216","file5":"1377689217","file3":"1377689214"},"map_files_photo_id_array":[{"photo_id":"1377689217","filename":"file5"},{"photo_id":"1377689212","filename":"file2"},{"photo_id":"1377689216","filename":"file4"},{"photo_id":"1377689210","filename":"file1"},{"photo_id":"1377689207","filename":"file0"},{"photo_id":"1377689214","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689217":["hashtag1","hashtag2"]},{"1377689210":["hashtag1","hashtag2"]},{"1377689207":["hashtag1","hashtag2"]},{"1377689216":["hashtag1","hashtag2"]},{"1377689212":["hashtag1","hashtag2"]},{"1377689214":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689217, 1377689210, 1377689207, 1377689216, 1377689212, 1377689214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79776072502136 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:15:41.828409
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/02/image_17082025_06_02_38_10447.jpg', '/media/data/images/17082025/06/02/image_17082025_06_02_48_9191.jpg', '/media/data/images/17082025/06/03/image_17082025_06_03_09_10523.jpg', '/media/data/images/17082025/06/03/image_17082025_06_03_18_9425.jpg', '/media/data/images/17082025/06/03/image_17082025_06_03_28_10399.jpg', '/media/data/images/17082025/06/03/image_17082025_06_03_39_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/02/image_17082025_06_02_38_10447.jpg
/media/data/images/17082025/06/02/image_17082025_06_02_48_9191.jpg
/media/data/images/17082025/06/03/image_17082025_06_03_09_10523.jpg
/media/data/images/17082025/06/03/image_17082025_06_03_18_9425.jpg
/media/data/images/17082025/06/03/image_17082025_06_03_28_10399.jpg
/media/data/images/17082025/06/03/image_17082025_06_03_39_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689240","1377689237","1377689231","1377689234","1377689236","1377689238"],"photo_ids_order":["1377689231","1377689234","1377689236","1377689237","1377689238","1377689240"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30c6012ea7d1af571729cc9fcc274821.jpg","text":"TemporaryFile(/tmp/multipartBody7462444039730813722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_03_39_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92675cb567095b3197cbfdef3ce0d174.jpg","text":"TemporaryFile(/tmp/multipartBody2288586168569066708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_03_18_9425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e6fbeb3ba22a4b058bccc85ccb84bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1056587446818348010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_02_38_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38487ad1feb313e7ec2f7fa4114904f3.jpg","text":"TemporaryFile(/tmp/multipartBody4693589164852683874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_02_48_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40604a55c722fbf3a8091ff9f0eb1b32.jpg","text":"TemporaryFile(/tmp/multipartBody1805939004357578945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_03_09_10523.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb3c23075d7a981424a9e618067220a7.jpg","text":"TemporaryFile(/tmp/multipartBody3113693689132537715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454602812,"filename":"image_17082025_06_03_28_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689236","file1":"1377689234","file0":"1377689231","file4":"1377689238","file5":"1377689240","file3":"1377689237"},"map_files_photo_id_array":[{"photo_id":"1377689240","filename":"file5"},{"photo_id":"1377689236","filename":"file2"},{"photo_id":"1377689238","filename":"file4"},{"photo_id":"1377689234","filename":"file1"},{"photo_id":"1377689231","filename":"file0"},{"photo_id":"1377689237","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689240":["hashtag1","hashtag2"]},{"1377689237":["hashtag1","hashtag2"]},{"1377689231":["hashtag1","hashtag2"]},{"1377689234":["hashtag1","hashtag2"]},{"1377689236":["hashtag1","hashtag2"]},{"1377689238":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689240, 1377689237, 1377689231, 1377689234, 1377689236, 1377689238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.193822622299194 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:16:41.952762
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/03/image_17082025_06_03_48_9233.jpg', '/media/data/images/17082025/06/03/image_17082025_06_03_58_10352.jpg', '/media/data/images/17082025/06/04/image_17082025_06_04_09_10317.jpg', '/media/data/images/17082025/06/04/image_17082025_06_04_28_10432.jpg', '/media/data/images/17082025/06/04/image_17082025_06_04_39_10364.jpg', '/media/data/images/17082025/06/04/image_17082025_06_04_48_9131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/03/image_17082025_06_03_48_9233.jpg
/media/data/images/17082025/06/03/image_17082025_06_03_58_10352.jpg
/media/data/images/17082025/06/04/image_17082025_06_04_09_10317.jpg
/media/data/images/17082025/06/04/image_17082025_06_04_28_10432.jpg
/media/data/images/17082025/06/04/image_17082025_06_04_39_10364.jpg
/media/data/images/17082025/06/04/image_17082025_06_04_48_9131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689261","1377689258","1377689263","1377689254","1377689256","1377689253"],"photo_ids_order":["1377689253","1377689254","1377689256","1377689258","1377689261","1377689263"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7111f607fe118729344955273b7e0828.jpg","text":"TemporaryFile(/tmp/multipartBody5527075527777019750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_04_39_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c5ef4db860e426025c4bc8dce4dab06.jpg","text":"TemporaryFile(/tmp/multipartBody3591612991509349564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_04_28_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1383b9107f26a54d959ebdec0b087abd.jpg","text":"TemporaryFile(/tmp/multipartBody2263308976469101903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_04_48_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/925b131f3f49a74a55ed2174ee32218f.jpg","text":"TemporaryFile(/tmp/multipartBody6056053426549894560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_03_58_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f626dccf2952853a10dc4b62842e57ec.jpg","text":"TemporaryFile(/tmp/multipartBody4993524173314696813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_04_09_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bb4aac314e475d7df89bcc780ee7f46.jpg","text":"TemporaryFile(/tmp/multipartBody6790930358658861583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454662930,"filename":"image_17082025_06_03_48_9233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689256","file1":"1377689254","file0":"1377689253","file4":"1377689261","file5":"1377689263","file3":"1377689258"},"map_files_photo_id_array":[{"photo_id":"1377689263","filename":"file5"},{"photo_id":"1377689256","filename":"file2"},{"photo_id":"1377689261","filename":"file4"},{"photo_id":"1377689254","filename":"file1"},{"photo_id":"1377689253","filename":"file0"},{"photo_id":"1377689258","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689261":["hashtag1","hashtag2"]},{"1377689258":["hashtag1","hashtag2"]},{"1377689263":["hashtag1","hashtag2"]},{"1377689254":["hashtag1","hashtag2"]},{"1377689256":["hashtag1","hashtag2"]},{"1377689253":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689261, 1377689258, 1377689263, 1377689254, 1377689256, 1377689253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.763662576675415 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:17:42.066529
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/04/image_17082025_06_04_58_10419.jpg', '/media/data/images/17082025/06/05/image_17082025_06_05_09_10354.jpg', '/media/data/images/17082025/06/05/image_17082025_06_05_18_9479.jpg', '/media/data/images/17082025/06/05/image_17082025_06_05_29_10536.jpg', '/media/data/images/17082025/06/05/image_17082025_06_05_48_10382.jpg', '/media/data/images/17082025/06/05/image_17082025_06_05_59_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/04/image_17082025_06_04_58_10419.jpg
/media/data/images/17082025/06/05/image_17082025_06_05_09_10354.jpg
/media/data/images/17082025/06/05/image_17082025_06_05_18_9479.jpg
/media/data/images/17082025/06/05/image_17082025_06_05_29_10536.jpg
/media/data/images/17082025/06/05/image_17082025_06_05_48_10382.jpg
/media/data/images/17082025/06/05/image_17082025_06_05_59_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689276","1377689281","1377689284","1377689278","1377689287","1377689295"],"photo_ids_order":["1377689276","1377689278","1377689281","1377689284","1377689287","1377689295"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7c3e5afc37b44d237549d9eb82bd619.jpg","text":"TemporaryFile(/tmp/multipartBody6162028080193213949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_04_58_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/80c6a3e8478a398b8b000047061e5e86.jpg","text":"TemporaryFile(/tmp/multipartBody8497870995086282593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_05_18_9479.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/73209aa5df0075dc1cef6931cd3621d2.jpg","text":"TemporaryFile(/tmp/multipartBody1915356728735791365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_05_29_10536.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/432f7832bae69f2c461616ea9cf6aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody6988822180746099133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_05_09_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1968126fc0d3fb5e44dd6d0e12ce486.jpg","text":"TemporaryFile(/tmp/multipartBody7799748042377677213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_05_48_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c2951ab2bedaed83944382ae9df5521.jpg","text":"TemporaryFile(/tmp/multipartBody1316296915829764069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454723071,"filename":"image_17082025_06_05_59_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689281","file1":"1377689278","file0":"1377689276","file4":"1377689287","file5":"1377689295","file3":"1377689284"},"map_files_photo_id_array":[{"photo_id":"1377689295","filename":"file5"},{"photo_id":"1377689281","filename":"file2"},{"photo_id":"1377689287","filename":"file4"},{"photo_id":"1377689278","filename":"file1"},{"photo_id":"1377689276","filename":"file0"},{"photo_id":"1377689284","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689276":["hashtag1","hashtag2"]},{"1377689281":["hashtag1","hashtag2"]},{"1377689284":["hashtag1","hashtag2"]},{"1377689278":["hashtag1","hashtag2"]},{"1377689287":["hashtag1","hashtag2"]},{"1377689295":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689276, 1377689281, 1377689284, 1377689278, 1377689287, 1377689295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.544668197631836 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:18:42.148177
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/06/image_17082025_06_06_18_10420.jpg', '/media/data/images/17082025/06/06/image_17082025_06_06_28_10394.jpg', '/media/data/images/17082025/06/06/image_17082025_06_06_38_9181.jpg', '/media/data/images/17082025/06/06/image_17082025_06_06_48_10363.jpg', '/media/data/images/17082025/06/06/image_17082025_06_06_58_10368.jpg', '/media/data/images/17082025/06/07/image_17082025_06_07_09_10269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/06/image_17082025_06_06_18_10420.jpg
/media/data/images/17082025/06/06/image_17082025_06_06_28_10394.jpg
/media/data/images/17082025/06/06/image_17082025_06_06_38_9181.jpg
/media/data/images/17082025/06/06/image_17082025_06_06_48_10363.jpg
/media/data/images/17082025/06/06/image_17082025_06_06_58_10368.jpg
/media/data/images/17082025/06/07/image_17082025_06_07_09_10269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689315","1377689306","1377689309","1377689314","1377689311","1377689313"],"photo_ids_order":["1377689306","1377689309","1377689311","1377689313","1377689314","1377689315"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b706790c3add6f4a9e804a4aa97f69e.jpg","text":"TemporaryFile(/tmp/multipartBody5957424195497837338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_07_09_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/693800af9fa41e48ddc1d4a94bf74dfa.jpg","text":"TemporaryFile(/tmp/multipartBody5981512884418590828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_06_18_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b3b8442f29775be97f3185bf4a7088b.jpg","text":"TemporaryFile(/tmp/multipartBody5700165959192086448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_06_28_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8865bf5b6207b30102e5c0cfedafe573.jpg","text":"TemporaryFile(/tmp/multipartBody6292233076462918717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_06_58_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ce1bce446b8840d2d81f882671e0f76.jpg","text":"TemporaryFile(/tmp/multipartBody4015001913276734307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_06_38_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f36652db1e431bc300d11d9aba039c03.jpg","text":"TemporaryFile(/tmp/multipartBody3919549393818938085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454783122,"filename":"image_17082025_06_06_48_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689311","file1":"1377689309","file0":"1377689306","file4":"1377689314","file5":"1377689315","file3":"1377689313"},"map_files_photo_id_array":[{"photo_id":"1377689315","filename":"file5"},{"photo_id":"1377689311","filename":"file2"},{"photo_id":"1377689314","filename":"file4"},{"photo_id":"1377689309","filename":"file1"},{"photo_id":"1377689306","filename":"file0"},{"photo_id":"1377689313","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689315":["hashtag1","hashtag2"]},{"1377689306":["hashtag1","hashtag2"]},{"1377689309":["hashtag1","hashtag2"]},{"1377689314":["hashtag1","hashtag2"]},{"1377689311":["hashtag1","hashtag2"]},{"1377689313":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689315, 1377689306, 1377689309, 1377689314, 1377689311, 1377689313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33953547477722 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:19:42.264362
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/07/image_17082025_06_07_28_10436.jpg', '/media/data/images/17082025/06/07/image_17082025_06_07_39_10353.jpg', '/media/data/images/17082025/06/07/image_17082025_06_07_48_9171.jpg', '/media/data/images/17082025/06/07/image_17082025_06_07_58_10466.jpg', '/media/data/images/17082025/06/08/image_17082025_06_08_09_10438.jpg', '/media/data/images/17082025/06/08/image_17082025_06_08_18_9128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/07/image_17082025_06_07_28_10436.jpg
/media/data/images/17082025/06/07/image_17082025_06_07_39_10353.jpg
/media/data/images/17082025/06/07/image_17082025_06_07_48_9171.jpg
/media/data/images/17082025/06/07/image_17082025_06_07_58_10466.jpg
/media/data/images/17082025/06/08/image_17082025_06_08_09_10438.jpg
/media/data/images/17082025/06/08/image_17082025_06_08_18_9128.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689336","1377689330","1377689332","1377689338","1377689346","1377689334"],"photo_ids_order":["1377689330","1377689332","1377689334","1377689336","1377689338","1377689346"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c70d04cc361897e28b46f07680ff6037.jpg","text":"TemporaryFile(/tmp/multipartBody9123253367422889465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_07_58_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bede5f4e34c78abccf0c4bc4f6f57d86.jpg","text":"TemporaryFile(/tmp/multipartBody7923813441002857660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_07_28_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39b2806bba9eb435ad90b81a3b5389d2.jpg","text":"TemporaryFile(/tmp/multipartBody2636967343932799719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_07_39_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc8140f68d4d4a83145b7b0977a9c77f.jpg","text":"TemporaryFile(/tmp/multipartBody7141135519765956126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_08_09_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/14289ac913f626c99d7e9d9ae6466db0.jpg","text":"TemporaryFile(/tmp/multipartBody8648938361343090390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_08_18_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12e04a616af1f105d7fc1098fda2d4ec.jpg","text":"TemporaryFile(/tmp/multipartBody343081137294979974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454843256,"filename":"image_17082025_06_07_48_9171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689334","file1":"1377689332","file0":"1377689330","file4":"1377689338","file5":"1377689346","file3":"1377689336"},"map_files_photo_id_array":[{"photo_id":"1377689346","filename":"file5"},{"photo_id":"1377689334","filename":"file2"},{"photo_id":"1377689338","filename":"file4"},{"photo_id":"1377689332","filename":"file1"},{"photo_id":"1377689330","filename":"file0"},{"photo_id":"1377689336","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689336":["hashtag1","hashtag2"]},{"1377689330":["hashtag1","hashtag2"]},{"1377689332":["hashtag1","hashtag2"]},{"1377689338":["hashtag1","hashtag2"]},{"1377689346":["hashtag1","hashtag2"]},{"1377689334":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689336, 1377689330, 1377689332, 1377689338, 1377689346, 1377689334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.768149614334106 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:20:42.362931
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/08/image_17082025_06_08_28_10338.jpg', '/media/data/images/17082025/06/08/image_17082025_06_08_39_10498.jpg', '/media/data/images/17082025/06/08/image_17082025_06_08_48_9099.jpg', '/media/data/images/17082025/06/08/image_17082025_06_08_58_10343.jpg', '/media/data/images/17082025/06/09/image_17082025_06_09_09_10502.jpg', '/media/data/images/17082025/06/09/image_17082025_06_09_18_9225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/08/image_17082025_06_08_28_10338.jpg
/media/data/images/17082025/06/08/image_17082025_06_08_39_10498.jpg
/media/data/images/17082025/06/08/image_17082025_06_08_48_9099.jpg
/media/data/images/17082025/06/08/image_17082025_06_08_58_10343.jpg
/media/data/images/17082025/06/09/image_17082025_06_09_09_10502.jpg
/media/data/images/17082025/06/09/image_17082025_06_09_18_9225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689363","1377689357","1377689359","1377689361","1377689370","1377689358"],"photo_ids_order":["1377689357","1377689358","1377689359","1377689361","1377689363","1377689370"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe82d837cd6b71ef22d6c869b10404a8.jpg","text":"TemporaryFile(/tmp/multipartBody4253468698154945910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_09_09_10502.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4fd8eabba6c3d0d82407a41b66298e1.jpg","text":"TemporaryFile(/tmp/multipartBody6528015713473498944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_08_28_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f180fc062cf6416af0491327001d153a.jpg","text":"TemporaryFile(/tmp/multipartBody6290433936072286859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_08_48_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0ae23d7ab3516a15a09565718897ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6199629961306831433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_08_58_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75da88a78348a896840e36c6bfb342ac.jpg","text":"TemporaryFile(/tmp/multipartBody580779988691591674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_09_18_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15c4f048913bcfc650582dbd3979d787.jpg","text":"TemporaryFile(/tmp/multipartBody2207236894739561242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454903371,"filename":"image_17082025_06_08_39_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689359","file1":"1377689358","file0":"1377689357","file4":"1377689363","file5":"1377689370","file3":"1377689361"},"map_files_photo_id_array":[{"photo_id":"1377689370","filename":"file5"},{"photo_id":"1377689359","filename":"file2"},{"photo_id":"1377689363","filename":"file4"},{"photo_id":"1377689358","filename":"file1"},{"photo_id":"1377689357","filename":"file0"},{"photo_id":"1377689361","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689363":["hashtag1","hashtag2"]},{"1377689357":["hashtag1","hashtag2"]},{"1377689359":["hashtag1","hashtag2"]},{"1377689361":["hashtag1","hashtag2"]},{"1377689370":["hashtag1","hashtag2"]},{"1377689358":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689363, 1377689357, 1377689359, 1377689361, 1377689370, 1377689358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54820680618286 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:21:42.488998
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/09/image_17082025_06_09_28_10394.jpg', '/media/data/images/17082025/06/09/image_17082025_06_09_39_10357.jpg', '/media/data/images/17082025/06/09/image_17082025_06_09_48_9135.jpg', '/media/data/images/17082025/06/09/image_17082025_06_09_58_10398.jpg', '/media/data/images/17082025/06/10/image_17082025_06_10_09_10410.jpg', '/media/data/images/17082025/06/10/image_17082025_06_10_39_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/09/image_17082025_06_09_28_10394.jpg
/media/data/images/17082025/06/09/image_17082025_06_09_39_10357.jpg
/media/data/images/17082025/06/09/image_17082025_06_09_48_9135.jpg
/media/data/images/17082025/06/09/image_17082025_06_09_58_10398.jpg
/media/data/images/17082025/06/10/image_17082025_06_10_09_10410.jpg
/media/data/images/17082025/06/10/image_17082025_06_10_39_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689381","1377689380","1377689383","1377689392","1377689386","1377689388"],"photo_ids_order":["1377689380","1377689381","1377689383","1377689386","1377689388","1377689392"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61e71d0db371919a54295da8e7e8a967.jpg","text":"TemporaryFile(/tmp/multipartBody3150428334864044171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_09_39_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e0ccdbab880a5ba31ff45a738a15be4.jpg","text":"TemporaryFile(/tmp/multipartBody5568605441667692578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_09_28_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7db2bbf97fe1aaa9a071727b04d9e51.jpg","text":"TemporaryFile(/tmp/multipartBody8348292915312526724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_09_48_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06777a42fcf6896da379e8655404184f.jpg","text":"TemporaryFile(/tmp/multipartBody2615004564432207444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_10_39_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4bca826b63438882267120fa634bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody6019530745209734236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_09_58_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37668ac5e158c226a9e83f14150a0337.jpg","text":"TemporaryFile(/tmp/multipartBody3456928047314874284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454963470,"filename":"image_17082025_06_10_09_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689383","file1":"1377689381","file0":"1377689380","file4":"1377689388","file5":"1377689392","file3":"1377689386"},"map_files_photo_id_array":[{"photo_id":"1377689392","filename":"file5"},{"photo_id":"1377689383","filename":"file2"},{"photo_id":"1377689388","filename":"file4"},{"photo_id":"1377689381","filename":"file1"},{"photo_id":"1377689380","filename":"file0"},{"photo_id":"1377689386","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689381":["hashtag1","hashtag2"]},{"1377689380":["hashtag1","hashtag2"]},{"1377689383":["hashtag1","hashtag2"]},{"1377689392":["hashtag1","hashtag2"]},{"1377689386":["hashtag1","hashtag2"]},{"1377689388":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689381, 1377689380, 1377689383, 1377689392, 1377689386, 1377689388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9168221950531 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:22:42.572875
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/10/image_17082025_06_10_58_10598.jpg', '/media/data/images/17082025/06/11/image_17082025_06_11_09_10250.jpg', '/media/data/images/17082025/06/11/image_17082025_06_11_28_10344.jpg', '/media/data/images/17082025/06/11/image_17082025_06_11_38_10345.jpg', '/media/data/images/17082025/06/11/image_17082025_06_11_49_10343.jpg', '/media/data/images/17082025/06/11/image_17082025_06_11_58_9104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/10/image_17082025_06_10_58_10598.jpg
/media/data/images/17082025/06/11/image_17082025_06_11_09_10250.jpg
/media/data/images/17082025/06/11/image_17082025_06_11_28_10344.jpg
/media/data/images/17082025/06/11/image_17082025_06_11_38_10345.jpg
/media/data/images/17082025/06/11/image_17082025_06_11_49_10343.jpg
/media/data/images/17082025/06/11/image_17082025_06_11_58_9104.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689403","1377689405","1377689408","1377689413","1377689401","1377689410"],"photo_ids_order":["1377689401","1377689403","1377689405","1377689408","1377689410","1377689413"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59c578552dbd9b2d82a90fcbe1aaf75f.jpg","text":"TemporaryFile(/tmp/multipartBody2882918926388379904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_11_09_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/159b7d6ae2381dfb27b542313a477ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3074548459507465663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_11_28_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9e1b71597c4579fa4b8bd681143d279.jpg","text":"TemporaryFile(/tmp/multipartBody6294831527981950480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_11_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75c38a3ba1d7d15cd2962a33a2dfe4c1.jpg","text":"TemporaryFile(/tmp/multipartBody6155005647854360181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_11_58_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3aa083e2c233091aa6f84698c3cda390.jpg","text":"TemporaryFile(/tmp/multipartBody7131427451724779396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_10_58_10598.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/604e7c86d68f022f5133595d657bbbd4.jpg","text":"TemporaryFile(/tmp/multipartBody8405944686349976345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455023536,"filename":"image_17082025_06_11_49_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689405","file1":"1377689403","file0":"1377689401","file4":"1377689410","file5":"1377689413","file3":"1377689408"},"map_files_photo_id_array":[{"photo_id":"1377689413","filename":"file5"},{"photo_id":"1377689405","filename":"file2"},{"photo_id":"1377689410","filename":"file4"},{"photo_id":"1377689403","filename":"file1"},{"photo_id":"1377689401","filename":"file0"},{"photo_id":"1377689408","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689403":["hashtag1","hashtag2"]},{"1377689405":["hashtag1","hashtag2"]},{"1377689408":["hashtag1","hashtag2"]},{"1377689413":["hashtag1","hashtag2"]},{"1377689401":["hashtag1","hashtag2"]},{"1377689410":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689403, 1377689405, 1377689408, 1377689413, 1377689401, 1377689410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66441512107849 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:23:42.654014
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/11/image_17082025_06_12_08_10544.jpg', '/media/data/images/17082025/06/12/image_17082025_06_12_19_10369.jpg', '/media/data/images/17082025/06/12/image_17082025_06_12_28_9196.jpg', '/media/data/images/17082025/06/12/image_17082025_06_12_38_10353.jpg', '/media/data/images/17082025/06/12/image_17082025_06_12_49_10388.jpg', '/media/data/images/17082025/06/12/image_17082025_06_12_58_9177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/11/image_17082025_06_12_08_10544.jpg
/media/data/images/17082025/06/12/image_17082025_06_12_19_10369.jpg
/media/data/images/17082025/06/12/image_17082025_06_12_28_9196.jpg
/media/data/images/17082025/06/12/image_17082025_06_12_38_10353.jpg
/media/data/images/17082025/06/12/image_17082025_06_12_49_10388.jpg
/media/data/images/17082025/06/12/image_17082025_06_12_58_9177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689432","1377689423","1377689426","1377689425","1377689428","1377689424"],"photo_ids_order":["1377689423","1377689424","1377689425","1377689426","1377689428","1377689432"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/782270857cf3abdb5c864163d02002b8.jpg","text":"TemporaryFile(/tmp/multipartBody276224342123765069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_58_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2707a27fb9a8bff0d3a050f65fd3c3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2672485536711814910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_08_10544.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75d9ed7e0e44845ccb6e0eba5eee846b.jpg","text":"TemporaryFile(/tmp/multipartBody502450946338065208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_38_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77bc514ce2de6634fc16a56266792734.jpg","text":"TemporaryFile(/tmp/multipartBody1200841426553936902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_28_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c8df57ab747ebd7306b0692a45afe369.jpg","text":"TemporaryFile(/tmp/multipartBody3824153099270425985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_49_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe0bb1432840b16db047bf3a248d5c23.jpg","text":"TemporaryFile(/tmp/multipartBody450527559363719454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455083649,"filename":"image_17082025_06_12_19_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689425","file1":"1377689424","file0":"1377689423","file4":"1377689428","file5":"1377689432","file3":"1377689426"},"map_files_photo_id_array":[{"photo_id":"1377689432","filename":"file5"},{"photo_id":"1377689425","filename":"file2"},{"photo_id":"1377689428","filename":"file4"},{"photo_id":"1377689424","filename":"file1"},{"photo_id":"1377689423","filename":"file0"},{"photo_id":"1377689426","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689432":["hashtag1","hashtag2"]},{"1377689423":["hashtag1","hashtag2"]},{"1377689426":["hashtag1","hashtag2"]},{"1377689425":["hashtag1","hashtag2"]},{"1377689428":["hashtag1","hashtag2"]},{"1377689424":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689432, 1377689423, 1377689426, 1377689425, 1377689428, 1377689424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75260519981384 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:24:41.823414
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/12/image_17082025_06_13_08_10480.jpg', '/media/data/images/17082025/06/13/image_17082025_06_13_19_10448.jpg', '/media/data/images/17082025/06/13/image_17082025_06_13_28_9120.jpg', '/media/data/images/17082025/06/13/image_17082025_06_13_38_10447.jpg', '/media/data/images/17082025/06/13/image_17082025_06_13_49_10438.jpg', '/media/data/images/17082025/06/14/image_17082025_06_14_18_9220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/12/image_17082025_06_13_08_10480.jpg
/media/data/images/17082025/06/13/image_17082025_06_13_19_10448.jpg
/media/data/images/17082025/06/13/image_17082025_06_13_28_9120.jpg
/media/data/images/17082025/06/13/image_17082025_06_13_38_10447.jpg
/media/data/images/17082025/06/13/image_17082025_06_13_49_10438.jpg
/media/data/images/17082025/06/14/image_17082025_06_14_18_9220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689447","1377689438","1377689440","1377689437","1377689442","1377689445"],"photo_ids_order":["1377689437","1377689438","1377689440","1377689442","1377689445","1377689447"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d32b49f0e1d193a698662ad5c5a0df9d.jpg","text":"TemporaryFile(/tmp/multipartBody217697183975538421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_14_18_9220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dabc5cae0a6de0a9bbf3acfd8ca1ada3.jpg","text":"TemporaryFile(/tmp/multipartBody3916148127779080767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_13_19_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0413e133f09442ba059c310883fd76a.jpg","text":"TemporaryFile(/tmp/multipartBody5167796242365909903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_13_28_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82ae3d87245e38582e9230d21de9d1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7697393913473296789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_13_08_10480.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f258cf47d8ac3b0bf9890b74b02c2c26.jpg","text":"TemporaryFile(/tmp/multipartBody1850484501462847451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_13_38_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c90882051e7bd0af1b9e1c129bc2cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2561543133015866379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455142815,"filename":"image_17082025_06_13_49_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689440","file1":"1377689438","file0":"1377689437","file4":"1377689445","file5":"1377689447","file3":"1377689442"},"map_files_photo_id_array":[{"photo_id":"1377689447","filename":"file5"},{"photo_id":"1377689440","filename":"file2"},{"photo_id":"1377689445","filename":"file4"},{"photo_id":"1377689438","filename":"file1"},{"photo_id":"1377689437","filename":"file0"},{"photo_id":"1377689442","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689447":["hashtag1","hashtag2"]},{"1377689438":["hashtag1","hashtag2"]},{"1377689440":["hashtag1","hashtag2"]},{"1377689437":["hashtag1","hashtag2"]},{"1377689442":["hashtag1","hashtag2"]},{"1377689445":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689447, 1377689438, 1377689440, 1377689437, 1377689442, 1377689445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47220730781555 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:25:41.947982
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/14/image_17082025_06_14_39_10416.jpg', '/media/data/images/17082025/06/14/image_17082025_06_14_48_9111.jpg', '/media/data/images/17082025/06/15/image_17082025_06_15_08_10277.jpg', '/media/data/images/17082025/06/15/image_17082025_06_15_28_9167.jpg', '/media/data/images/17082025/06/15/image_17082025_06_15_38_10486.jpg', '/media/data/images/17082025/06/15/image_17082025_06_15_49_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/14/image_17082025_06_14_39_10416.jpg
/media/data/images/17082025/06/14/image_17082025_06_14_48_9111.jpg
/media/data/images/17082025/06/15/image_17082025_06_15_08_10277.jpg
/media/data/images/17082025/06/15/image_17082025_06_15_28_9167.jpg
/media/data/images/17082025/06/15/image_17082025_06_15_38_10486.jpg
/media/data/images/17082025/06/15/image_17082025_06_15_49_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689459","1377689462","1377689461","1377689466","1377689454","1377689457"],"photo_ids_order":["1377689454","1377689457","1377689459","1377689461","1377689462","1377689466"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9df53fa9bafa1f716d924174c851b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1443833536651689659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_15_08_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd627cac5ec337af3e81949810270e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2515416331014617926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_15_38_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6791d540e888b3f45d5363702dd4b076.jpg","text":"TemporaryFile(/tmp/multipartBody2424721294168381742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_15_28_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87eb70e645fee5f0abb7e2f294c93e1b.jpg","text":"TemporaryFile(/tmp/multipartBody363587431351581543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_15_49_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/269b946013ecdadca8594882b4b287bf.jpg","text":"TemporaryFile(/tmp/multipartBody1611082440579362599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_14_39_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0382972f3c1bf153d18d1a91861d8d7b.jpg","text":"TemporaryFile(/tmp/multipartBody624019031504026064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455202927,"filename":"image_17082025_06_14_48_9111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689459","file1":"1377689457","file0":"1377689454","file4":"1377689462","file5":"1377689466","file3":"1377689461"},"map_files_photo_id_array":[{"photo_id":"1377689466","filename":"file5"},{"photo_id":"1377689459","filename":"file2"},{"photo_id":"1377689462","filename":"file4"},{"photo_id":"1377689457","filename":"file1"},{"photo_id":"1377689454","filename":"file0"},{"photo_id":"1377689461","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689459":["hashtag1","hashtag2"]},{"1377689462":["hashtag1","hashtag2"]},{"1377689461":["hashtag1","hashtag2"]},{"1377689466":["hashtag1","hashtag2"]},{"1377689454":["hashtag1","hashtag2"]},{"1377689457":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689459, 1377689462, 1377689461, 1377689466, 1377689454, 1377689457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13314986228943 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:26:42.069235
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/16/image_17082025_06_16_18_9151.jpg', '/media/data/images/17082025/06/16/image_17082025_06_16_38_10446.jpg', '/media/data/images/17082025/06/16/image_17082025_06_16_48_9166.jpg', '/media/data/images/17082025/06/16/image_17082025_06_16_58_10447.jpg', '/media/data/images/17082025/06/16/image_17082025_06_17_09_10526.jpg', '/media/data/images/17082025/06/17/image_17082025_06_17_18_9149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/16/image_17082025_06_16_18_9151.jpg
/media/data/images/17082025/06/16/image_17082025_06_16_38_10446.jpg
/media/data/images/17082025/06/16/image_17082025_06_16_48_9166.jpg
/media/data/images/17082025/06/16/image_17082025_06_16_58_10447.jpg
/media/data/images/17082025/06/16/image_17082025_06_17_09_10526.jpg
/media/data/images/17082025/06/17/image_17082025_06_17_18_9149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689483","1377689480","1377689474","1377689476","1377689472","1377689478"],"photo_ids_order":["1377689472","1377689474","1377689476","1377689478","1377689480","1377689483"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b4e48cee35d3805e21b33715c9284d61.jpg","text":"TemporaryFile(/tmp/multipartBody2075374501903935085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_17_18_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a91d4a41acf08ba91110b578a1624c8.jpg","text":"TemporaryFile(/tmp/multipartBody243500900158417813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_17_09_10526.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33430ae69eb13de68482868f5ecfd7e1.jpg","text":"TemporaryFile(/tmp/multipartBody7622444974744793843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_16_38_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38c6519afab0715c7004c10b8eaaec02.jpg","text":"TemporaryFile(/tmp/multipartBody4292165580915098147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_16_48_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0425030461066b278a7e72fd3db826d.jpg","text":"TemporaryFile(/tmp/multipartBody1329338502480152127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_16_18_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4dc4867a0aeecc3d55233a06581e3d68.jpg","text":"TemporaryFile(/tmp/multipartBody1533448981441661856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455263041,"filename":"image_17082025_06_16_58_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689476","file1":"1377689474","file0":"1377689472","file4":"1377689480","file5":"1377689483","file3":"1377689478"},"map_files_photo_id_array":[{"photo_id":"1377689483","filename":"file5"},{"photo_id":"1377689476","filename":"file2"},{"photo_id":"1377689480","filename":"file4"},{"photo_id":"1377689474","filename":"file1"},{"photo_id":"1377689472","filename":"file0"},{"photo_id":"1377689478","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689483":["hashtag1","hashtag2"]},{"1377689480":["hashtag1","hashtag2"]},{"1377689474":["hashtag1","hashtag2"]},{"1377689476":["hashtag1","hashtag2"]},{"1377689472":["hashtag1","hashtag2"]},{"1377689478":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689483, 1377689480, 1377689474, 1377689476, 1377689472, 1377689478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14006066322327 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:27:42.200995
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/17/image_17082025_06_17_39_10348.jpg', '/media/data/images/17082025/06/17/image_17082025_06_17_48_9295.jpg', '/media/data/images/17082025/06/17/image_17082025_06_17_58_10355.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_09_10465.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_18_9166.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_28_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/17/image_17082025_06_17_39_10348.jpg
/media/data/images/17082025/06/17/image_17082025_06_17_48_9295.jpg
/media/data/images/17082025/06/17/image_17082025_06_17_58_10355.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_09_10465.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_18_9166.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_28_10388.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5739355087280273 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:28:02.754583
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/17/image_17082025_06_17_39_10348.jpg', '/media/data/images/17082025/06/17/image_17082025_06_17_48_9295.jpg', '/media/data/images/17082025/06/17/image_17082025_06_17_58_10355.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_09_10465.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_18_9166.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_28_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/17/image_17082025_06_17_39_10348.jpg
/media/data/images/17082025/06/17/image_17082025_06_17_48_9295.jpg
/media/data/images/17082025/06/17/image_17082025_06_17_58_10355.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_09_10465.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_18_9166.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_28_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689501","1377689510","1377689507","1377689512","1377689509","1377689511"],"photo_ids_order":["1377689501","1377689507","1377689509","1377689510","1377689511","1377689512"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa15c82bdaf4064faefcf9d9e18be28e.jpg","text":"TemporaryFile(/tmp/multipartBody1312529920767229023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_17_39_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68f3a16efc1d94bf465eca819f97ec7d.jpg","text":"TemporaryFile(/tmp/multipartBody711129097709256203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_18_09_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30c3301d114fd30fe3d14705427e7e2f.jpg","text":"TemporaryFile(/tmp/multipartBody9016142714607870677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_17_48_9295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb2f642d95708df70f2531aa53f5ed75.jpg","text":"TemporaryFile(/tmp/multipartBody1418625272133563144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_18_28_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5577596151fcf7ee5dc1e6009bb04b48.jpg","text":"TemporaryFile(/tmp/multipartBody1857704791599469296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_17_58_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7aab1f7d498c25dbd1fcf3d6fcbed2d.jpg","text":"TemporaryFile(/tmp/multipartBody680761155757670386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455343643,"filename":"image_17082025_06_18_18_9166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689509","file1":"1377689507","file0":"1377689501","file4":"1377689511","file5":"1377689512","file3":"1377689510"},"map_files_photo_id_array":[{"photo_id":"1377689512","filename":"file5"},{"photo_id":"1377689509","filename":"file2"},{"photo_id":"1377689511","filename":"file4"},{"photo_id":"1377689507","filename":"file1"},{"photo_id":"1377689501","filename":"file0"},{"photo_id":"1377689510","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689501":["hashtag1","hashtag2"]},{"1377689510":["hashtag1","hashtag2"]},{"1377689507":["hashtag1","hashtag2"]},{"1377689512":["hashtag1","hashtag2"]},{"1377689509":["hashtag1","hashtag2"]},{"1377689511":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689501, 1377689510, 1377689507, 1377689512, 1377689509, 1377689511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40835213661194 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:29:03.231361
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/18/image_17082025_06_18_39_10415.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_48_9117.jpg', '/media/data/images/17082025/06/18/image_17082025_06_18_58_10398.jpg', '/media/data/images/17082025/06/19/image_17082025_06_19_08_10269.jpg', '/media/data/images/17082025/06/19/image_17082025_06_19_19_10352.jpg', '/media/data/images/17082025/06/19/image_17082025_06_19_28_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/18/image_17082025_06_18_39_10415.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_48_9117.jpg
/media/data/images/17082025/06/18/image_17082025_06_18_58_10398.jpg
/media/data/images/17082025/06/19/image_17082025_06_19_08_10269.jpg
/media/data/images/17082025/06/19/image_17082025_06_19_19_10352.jpg
/media/data/images/17082025/06/19/image_17082025_06_19_28_9123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689531","1377689522","1377689524","1377689529","1377689520","1377689526"],"photo_ids_order":["1377689520","1377689522","1377689524","1377689526","1377689529","1377689531"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93af1cb10d6192498b28e4766163e70a.jpg","text":"TemporaryFile(/tmp/multipartBody4476819208452452789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_19_28_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff1d505ee59b1536e32accec32883bc8.jpg","text":"TemporaryFile(/tmp/multipartBody8361640124630584569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_18_48_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/806a06c8ff3600223e47753b4112c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5187260693765983855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_18_58_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20ffc03d6565589a059ace97e1e0feeb.jpg","text":"TemporaryFile(/tmp/multipartBody2056595327221693059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_19_19_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/553562466e691c5a22e8f53148cb5a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8444717563602868440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_18_39_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1c52479e7c0e0dbefb6ca6a293f22db.jpg","text":"TemporaryFile(/tmp/multipartBody1739248990947232339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455404230,"filename":"image_17082025_06_19_08_10269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689524","file1":"1377689522","file0":"1377689520","file4":"1377689529","file5":"1377689531","file3":"1377689526"},"map_files_photo_id_array":[{"photo_id":"1377689531","filename":"file5"},{"photo_id":"1377689524","filename":"file2"},{"photo_id":"1377689529","filename":"file4"},{"photo_id":"1377689522","filename":"file1"},{"photo_id":"1377689520","filename":"file0"},{"photo_id":"1377689526","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689531":["hashtag1","hashtag2"]},{"1377689522":["hashtag1","hashtag2"]},{"1377689524":["hashtag1","hashtag2"]},{"1377689529":["hashtag1","hashtag2"]},{"1377689520":["hashtag1","hashtag2"]},{"1377689526":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689531, 1377689522, 1377689524, 1377689529, 1377689520, 1377689526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94528245925903 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:30:03.045836
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/19/image_17082025_06_19_38_10420.jpg', '/media/data/images/17082025/06/19/image_17082025_06_19_49_10430.jpg', '/media/data/images/17082025/06/19/image_17082025_06_19_58_9102.jpg', '/media/data/images/17082025/06/19/image_17082025_06_20_08_10406.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_19_10449.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_28_9099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/19/image_17082025_06_19_38_10420.jpg
/media/data/images/17082025/06/19/image_17082025_06_19_49_10430.jpg
/media/data/images/17082025/06/19/image_17082025_06_19_58_9102.jpg
/media/data/images/17082025/06/19/image_17082025_06_20_08_10406.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_19_10449.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_28_9099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689540","1377689560","1377689551","1377689545","1377689548","1377689556"],"photo_ids_order":["1377689540","1377689545","1377689548","1377689551","1377689556","1377689560"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17f01db196ef3594de1dfd7476638451.jpg","text":"TemporaryFile(/tmp/multipartBody9197722912821685946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_19_38_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a0c1152e5e6e0baec0beb66da0412ba.jpg","text":"TemporaryFile(/tmp/multipartBody7549594845959520302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_20_28_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/905a9a03875b53306c064b477e3f657e.jpg","text":"TemporaryFile(/tmp/multipartBody2299522897626632708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_20_08_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a05a6709c3a9ddbcad30a25aa624031.jpg","text":"TemporaryFile(/tmp/multipartBody8432553343833333065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_19_49_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a27993accaf70721ae35b0b5b510c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8064134963593901670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_19_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59f4bc9a5bc549635dca4b81aa73092d.jpg","text":"TemporaryFile(/tmp/multipartBody982864986968600248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455464032,"filename":"image_17082025_06_20_19_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689548","file1":"1377689545","file0":"1377689540","file4":"1377689556","file5":"1377689560","file3":"1377689551"},"map_files_photo_id_array":[{"photo_id":"1377689560","filename":"file5"},{"photo_id":"1377689548","filename":"file2"},{"photo_id":"1377689556","filename":"file4"},{"photo_id":"1377689545","filename":"file1"},{"photo_id":"1377689540","filename":"file0"},{"photo_id":"1377689551","filename":"file3"}],"portfolio_id":26044660,"hashtag_by_photo_ids":[{"1377689540":["hashtag1","hashtag2"]},{"1377689560":["hashtag1","hashtag2"]},{"1377689551":["hashtag1","hashtag2"]},{"1377689545":["hashtag1","hashtag2"]},{"1377689548":["hashtag1","hashtag2"]},{"1377689556":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044660 used, photo_id : ArrayBuffer(1377689540, 1377689560, 1377689551, 1377689545, 1377689548, 1377689556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62435555458069 secondes ---
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 20:31:03.469272
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:17:04.129083
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.8997368812561035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eaa5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:17:21.400359
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.155614137649536 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae6c2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:17:41.407194
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.46408963203430176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac872e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:18:02.974565
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9019997119903564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7f4fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:18:22.539728
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7765927314758301 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7eb82e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:18:42.548319
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2486889362335205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90981da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:19:03.225360
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1240155696868896 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7699be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:19:22.697156
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2624998092651367 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb17d9da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:19:42.696914
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1035349369049072 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b39be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:20:02.225168
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2552521228790283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa59cfe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:20:21.819590
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9812898635864258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cae4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:20:41.854538
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.586940288543701 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabfd2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:21:02.435512
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3968565464019775 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90689e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:21:22.005525
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6384844779968262 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f985bbe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:21:41.996631
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2474193572998047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb472ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:22:02.456127
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2682712078094482 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87573e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:22:22.136062
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2285470962524414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b9e8e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:22:42.199928
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.125049352645874 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac89fda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:23:02.871896
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3239927291870117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d38be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:23:22.352100
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.49270105361938477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90d84e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:23:42.340462
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2252895832061768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f771ece10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:24:02.901430
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.304288387298584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadff1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:24:22.498808
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9893002510070801 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6706e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:24:42.472496
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0963845252990723 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4fc6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:25:03.128405
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7117574214935303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86708da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:25:22.718000
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7716948986053467 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafa74e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:25:42.611596
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1601908206939697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9347cda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:26:03.151127
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.697283983230591 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fe43e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:26:22.765082
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.207258939743042 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a40e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:26:42.748740
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9441685676574707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1d3be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:27:02.410180
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7634987831115723 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4743e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:27:21.934926
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1204049587249756 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97cf5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:27:41.896018
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2799453735351562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81454e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:28:02.477320
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0190236568450928 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4165e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:28:22.037262
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2592344284057617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c04ada0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:28:42.040403
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.303750514984131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad8e1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:29:02.821966
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8660297393798828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faeaf1da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:29:22.177716
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4800140857696533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2f5ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:29:42.199269
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.178633213043213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95eb0da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:30:02.783379
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8663897514343262 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99b74e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:30:22.366198
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2138886451721191 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9603ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:30:42.404125
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.257502794265747 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff1ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:31:03.030076
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9834764003753662 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7723e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:31:22.552067
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9495835304260254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f931cada0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:31:42.580541
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.600189685821533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99d62e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:32:03.161900
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.262117862701416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb621fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:32:22.728918
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.255289316177368 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad37da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:32:42.758649
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3053901195526123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f8a5da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:33:02.265729
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1997270584106445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2a60e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:33:21.908728
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3561418056488037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e033e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:33:41.895904
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2804768085479736 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f966e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:34:02.396110
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.249671459197998 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b3d1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:34:22.084294
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.67341947555542 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8078ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:34:42.060444
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6081573963165283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f996f2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:35:02.791883
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1057536602020264 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad3bfe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:35:22.213315
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.396470546722412 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad64ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:35:42.201326
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4374337196350098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cd67e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:36:02.667885
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0824975967407227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5723e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:36:22.363424
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1425156593322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d702e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:36:42.356001
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.232468605041504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa97d9e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:37:03.014225
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2850353717803955 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3489e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:37:22.500892
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.72782564163208 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83abde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:37:42.496448
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.244082450866699 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f835f6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:38:02.985062
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0067965984344482 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94be5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:38:22.634482
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4355442523956299 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93238e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:38:42.644682
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9075055122375488 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ba42e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:39:02.359673
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.512558698654175 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f955c5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:39:21.787635
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8861746788024902 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42aae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:39:41.798972
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.253103256225586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4ea1da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:40:02.179601
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2564547061920166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0bade10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:40:21.936274
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.21962571144104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fc1ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:40:41.959486
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.43607330322265625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4da4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:41:02.601193
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6291682720184326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f967d1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:41:22.095297
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8611624240875244 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f845dbe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:41:42.129266
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9075698852539062 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb129be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:42:02.618733
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.300647497177124 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2799da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:42:22.258122
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1815311908721924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b226e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:42:42.288386
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.071866512298584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9422e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:43:03.069781
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4809637069702148 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79f7de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:43:22.427989
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6921827793121338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f821e5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:43:42.440588
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7202651500701904 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f770a9da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:44:02.986096
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.857466220855713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadb9ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:44:22.594030
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4147472381591797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabc7bda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:44:42.581984
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8998045921325684 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae487e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:45:03.316750
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6375713348388672 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ced4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:45:22.718945
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.885159969329834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb242de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:45:42.727538
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7170608043670654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96b69da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:46:02.215446
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3092236518859863 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0e5fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:46:21.871732
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.213693380355835 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7abc2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:46:41.935953
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2697741985321045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81fd6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:47:02.668326
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.816979169845581 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5b10e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:47:22.086762
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2808897495269775 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2fcce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:47:42.098098
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5498604774475098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98a99e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:48:02.354728
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2517924308776855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80668e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:48:22.251578
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0771024227142334 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1dde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:48:42.252896
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1159112453460693 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87d14da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:49:03.000221
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8799824714660645 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faccdde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:49:22.401258
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6878209114074707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85e7de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:49:42.406899
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.322999954223633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88b8ce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:50:02.863734
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0683188438415527 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d792e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:50:22.569170
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.283259391784668 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77ce8e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:50:42.579675
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.153252363204956 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad015da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:51:03.223789
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0207099914550781 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f839e1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:51:22.733348
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2352464199066162 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8693ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:51:42.710746
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6651649475097656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3779e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:52:02.021368
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2748775482177734 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f4e2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:52:21.903238
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1134376525878906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f852efe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:52:41.851232
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.5655577182769775 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b339e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:53:02.578126
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1505026817321777 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa167ce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:53:22.016433
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1231565475463867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7974fda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:53:42.056735
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.203077793121338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a223e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:54:02.881597
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2989628314971924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f786b5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:54:22.201056
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.339468240737915 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac43be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:54:42.187273
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2736122608184814 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e216e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:55:02.931176
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1704819202423096 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a588e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:55:22.328355
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.535243272781372 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f887e2da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:55:42.413917
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4906880855560303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b119e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:56:02.939366
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.164876699447632 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c981e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:56:22.567634
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.297022581100464 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbd4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:56:42.566204
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.261455774307251 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafbd4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:57:03.244069
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2532508373260498 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0243e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:57:22.720101
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.26560473442077637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86e75da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:57:42.721634
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0668203830718994 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875ade10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:59:03.313944
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.586681842803955 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3f91e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:59:22.749230
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3601179122924805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7884fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 22:59:42.726262
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3058042526245117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f769b1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:00:02.153116
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3594439029693604 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c6b0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:00:21.861990
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.85038423538208 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83a58e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:00:41.878574
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2742538452148438 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb167ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:01:02.548283
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.795982837677002 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f819d6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:01:22.021245
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8941366672515869 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9df4ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:01:42.032831
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.283212184906006 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d9f2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:02:02.531924
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.264292001724243 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4a07e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:02:22.211968
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2643234729766846 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e5f5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:02:42.156614
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7598609924316406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f767a0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:03:02.861470
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9726452827453613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f802f8da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:03:22.298741
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8587856292724609 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c2f2c88>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:03:42.330569
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2290375232696533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8deaee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:04:02.872756
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.16717267036438 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a035e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:04:22.497643
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6224918365478516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7be15e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:04:42.467055
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.133362293243408 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f954a1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:05:03.105479
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1657791137695312 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faeef5da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:05:22.671685
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4892430305480957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bca8e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:05:42.598512
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5631341934204102 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a21ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:06:03.076080
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.887779951095581 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad90ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:06:22.760467
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9633393287658691 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5073e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:06:42.738513
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.665891408920288 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c89ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:07:02.346779
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.407907009124756 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79bfde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:07:21.907468
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4973905086517334 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95a09e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:07:41.892472
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1924965381622314 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98e18e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:08:02.404847
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.000857353210449 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b96ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:08:22.056106
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2716965675354004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f996e7da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:08:42.082885
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9632034301757812 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4850e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:09:02.790353
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.287860155105591 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a5cae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:09:22.237771
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2507524490356445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabde9e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:09:42.282446
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.286396026611328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb22ffe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:10:02.723330
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.247817039489746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c9c4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:10:22.432882
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.376082420349121 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0a8eda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:10:42.428760
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3430674076080322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86350e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:11:03.069473
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4533653259277344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8270ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:11:22.542784
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7092924118041992 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8deae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:11:42.577214
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.234938859939575 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90db2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:12:03.069302
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9060726165771484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d5afe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:12:22.701586
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4312443733215332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86cc2e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:12:42.728873
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.5267443656921387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e914e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:13:02.311774
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.613731861114502 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf165e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:13:21.877166
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.378894329071045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6cb1da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:13:41.876386
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.5794730186462402 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6b13e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:14:02.463668
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2729036808013916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e7a6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:14:22.012722
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6852056980133057 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76c5bda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:14:42.009838
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2828030586242676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9deb4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:15:02.661097
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.698012113571167 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb104de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:15:22.217394
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0194296836853027 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81864da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:15:42.156228
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.231675148010254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833d0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:16:02.630814
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.306114435195923 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9789de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:16:22.328178
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2798495292663574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ecc5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:16:42.312645
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9674966335296631 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e531e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:17:02.907328
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.801171064376831 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833bbe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:17:22.480265
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9574582576751709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fb06e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:17:42.458697
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.421971559524536 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77b46e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:18:02.971349
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0289504528045654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5d46e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:18:22.602058
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6784510612487793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb265ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:18:42.587719
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7755184173583984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99444e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:19:03.260506
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9357414245605469 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f990c6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:19:22.759927
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9291470050811768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0a33e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:19:42.723418
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9200220108032227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e267e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:20:02.288580
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.235055446624756 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1b0ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:20:21.864903
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2966153621673584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4dfeda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:20:41.858770
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.705627918243408 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f873f7e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:21:02.385133
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0928738117218018 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a4eda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:21:21.997299
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2877020835876465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9555fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:21:42.000711
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2864372730255127 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0a83e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:22:02.436741
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.249128580093384 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98792e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:22:22.144402
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3034069538116455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae3fae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:22:42.146771
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.260878562927246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94189e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:23:02.764613
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.199791669845581 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81a6ce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:23:22.308624
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9773099422454834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fd9fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:23:42.289184
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9594900608062744 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6e95da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:24:02.971596
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8780386447906494 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb24d5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:24:22.422824
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.588566780090332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f976d7e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:24:42.438231
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2566089630126953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d91e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:25:03.088478
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.23347806930542 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab6c7e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:25:22.603797
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6862318515777588 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8aab9e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:25:42.609442
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.20280122756958 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1434e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:26:03.106004
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.826611042022705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9027de48>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:26:22.744136
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3486886024475098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a30e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:26:42.760932
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9727261066436768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3995e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:27:02.401968
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4829368591308594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cd56da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:27:21.895913
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.719639539718628 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b4a8e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:27:41.888273
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2458717823028564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87cfde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:28:02.430663
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8655362129211426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c318da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:28:22.050841
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.245706081390381 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa81f4e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:28:42.036892
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.26069974899292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3baeda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:29:02.883793
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3649725914001465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8565cda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:29:22.196112
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2614734172821045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b4f6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:29:42.297937
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2417523860931396 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf842da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:30:02.638266
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2994487285614014 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa386bda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:30:22.419999
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4404981136322021 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4ce0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:30:42.440526
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.259826898574829 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99779e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:31:02.936358
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7156412601470947 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78c43e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:31:22.588479
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.47315359115600586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d500da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:31:42.581510
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.722388505935669 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88208e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:32:03.082303
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.299163818359375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad57be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:32:22.715844
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.306389570236206 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4493e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:32:42.741714
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.360595941543579 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cb0ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:33:02.424764
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.640118360519409 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fe29e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:33:21.898419
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4063012599945068 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e25e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:33:41.863196
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2803845405578613 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90dd6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:34:02.449780
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2562718391418457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faffc6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:34:22.018855
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7687437534332275 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b9cee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:34:42.005217
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.743032693862915 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae799e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:35:02.659634
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7589313983917236 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82135e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:35:22.175361
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2131717205047607 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87536e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:35:42.132666
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5326423645019531 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7750eda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:36:02.627248
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.241438865661621 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93778e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:36:22.280462
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5908594131469727 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa04fbe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:36:42.257926
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1315248012542725 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80adae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:37:02.921269
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9002509117126465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3ea1e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:37:22.393472
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9185187816619873 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f807a7e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:37:42.390195
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0424492359161377 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80a3de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:38:02.835388
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2773733139038086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95963e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:38:22.541269
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0915133953094482 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9fa5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:38:42.537378
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.815673828125 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85b3ee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:39:03.293127
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 4.102544546127319 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8be06e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:39:22.669708
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5603830814361572 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f846f6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:39:42.726732
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2290890216827393 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1c2ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:40:02.074206
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2411389350891113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f920d3e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:40:21.865592
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6506295204162598 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e839e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:40:41.863477
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0533597469329834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77bffe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:41:02.524160
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.983755111694336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e3dde10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:41:22.032284
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1251509189605713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90088e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:41:42.009760
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9072840213775635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb18edda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:42:02.374368
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.265277147293091 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb17c9e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:42:22.132649
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1875684261322021 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89ceee10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:42:42.150288
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.250255823135376 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab24be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:43:02.855052
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0660033226013184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93caae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:43:22.303791
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0979280471801758 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0d19e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:43:42.281209
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4027140140533447 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42e6da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:44:02.748303
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.213907241821289 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ae9de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:44:22.421224
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3029239177703857 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89e8ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:44:42.440296
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0839593410491943 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb127be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:45:03.095015
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2604031562805176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9572be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:45:22.576693
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5880284309387207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadf04e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:45:42.566431
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9182627201080322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa215ce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:46:02.958472
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1677587032318115 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84d9ae10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:46:22.725336
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7597014904022217 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81852e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:46:42.743887
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.412747621536255 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d572e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:47:02.459990
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.35770320892334 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb46e5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:47:21.892796
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4842982292175293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa87a0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:47:41.897262
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1991071701049805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c793e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:48:02.216086
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.24084210395813 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf303e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:48:22.020936
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4365878105163574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb272fe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:48:42.047977
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.250044584274292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8843cda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:49:02.784277
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5537235736846924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cb58e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:49:22.193774
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.106558084487915 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8660dda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:49:42.208292
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6122024059295654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5591e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:50:02.672902
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.107518196105957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90084e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:50:22.355303
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.426940679550171 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5ed0e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:50:42.369975
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3734328746795654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa429da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:51:03.015516
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6437172889709473 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89986e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:51:22.527432
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0965702533721924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4994e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:51:42.482016
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6650893688201904 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabdd5e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:52:03.047507
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7402760982513428 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80b08da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:52:22.632979
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7517573833465576 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faccffda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:52:42.620942
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6440339088439941 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f994f6e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:53:03.369763
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.767301321029663 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85c58e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:53:22.769989
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4157264232635498 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cc4be10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:53:42.774712
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4929022789001465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87320e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:54:02.338619
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.290003538131714 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79654da0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:54:21.929297
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0189664363861084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf944e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:54:41.907339
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2411911487579346 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cd90e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:55:02.556658
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.023268461227417 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9910e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:55:22.040488
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0292212963104248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadb4cda0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:55:42.057221
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.932985305786133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb32fbe10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:56:02.532932
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.259293556213379 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d28ce10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:56:22.206612
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.265589714050293 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fb86e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:56:42.182172
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6505324840545654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2067e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:57:03.015549
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6079490184783936 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7066e10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:57:22.409880
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8230042457580566 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb405de10>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v
2025-08-17 23:57:42.333429
  port_id : 26044660
  datou_current_id : 3551267
in upload_from_sqlite, uploading in 26044660
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg', '/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg', '/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg', '/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0
/media/data/images/17082025/06/20/image_17082025_06_20_38_10399.jpg
/media/data/images/17082025/06/20/image_17082025_06_20_49_10410.jpg
/media/data/images/17082025/06/20/image_17082025_06_21_08_10416.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_18_10358.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_38_9192.jpg
/media/data/images/17082025/06/21/image_17082025_06_21_48_10415.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.899266004562378 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3551267&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89399e10>: Failed to establish a new connection: [Errno 113] No route to host',))
